From 2bb169ce371dfa71ac4f81835d36c68e01e5190c Mon Sep 17 00:00:00 2001 From: nakeee Date: Fri, 19 Dec 2008 09:36:27 +0000 Subject: [PATCH] Moved the wx anti debug flag to scons git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1591 8ced0084-cf51-0410-be5f-012b33b47a6e --- SConstruct | 3 +++ Source/Core/Common/Src/Common.h | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 879be65bbb..9e97f04bbd 100644 --- a/SConstruct +++ b/SConstruct @@ -150,6 +150,9 @@ if (flavour == 'debug'): compileFlags.append('-g') cppDefines.append('LOGGING') cppDefines.append('_DEBUG') + # FIXME: this disable wx debugging how do we make it work? + cppDefines.append('NDEBUG') + elif (flavour == 'devel'): compileFlags.append('-g') cppDefines.append('DEBUGFAST') diff --git a/Source/Core/Common/Src/Common.h b/Source/Core/Common/Src/Common.h index fe13607ea3..c4cea287ca 100644 --- a/Source/Core/Common/Src/Common.h +++ b/Source/Core/Common/Src/Common.h @@ -40,7 +40,6 @@ #define HAVE_WIIUSE 1 #define HAVE_WX 1 #else -#define NDEBUG 1 // FIXME: this disable wx debugging how do we make it work? #include "CommonTypes.h" #include "Config.h" #endif