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