diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-25 19:19:50 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-25 19:19:50 +0300 |
commit | bc15e0e2952bac0458ae61c97d4d8187e55cd1cc (patch) | |
tree | f8bd0ad1e724d8a867caadff7778c484047a0d51 /build_files/scons/config/win32-mingw-config.py | |
parent | b25db7c8cb3bf41e19b99c0d3c83b27bfa8d23d6 (diff) |
add NDEBUG to scons release flags + some pep8 cleanup for examples.
Diffstat (limited to 'build_files/scons/config/win32-mingw-config.py')
-rw-r--r-- | build_files/scons/config/win32-mingw-config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build_files/scons/config/win32-mingw-config.py b/build_files/scons/config/win32-mingw-config.py index 845110c0993..98ab63b5e73 100644 --- a/build_files/scons/config/win32-mingw-config.py +++ b/build_files/scons/config/win32-mingw-config.py @@ -166,8 +166,8 @@ CCFLAGS = [ '-pipe', '-funsigned-char', '-fno-strict-aliasing' ] CPPFLAGS = ['-DWIN32', '-DFREE_WINDOWS', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE'] CXXFLAGS = ['-pipe', '-mwindows', '-funsigned-char', '-fno-strict-aliasing' ] -REL_CFLAGS = [ '-O2' ] -REL_CCFLAGS = [ '-O2' ] +REL_CFLAGS = ['-DNDEBUG', '-O2'] +REL_CCFLAGS = ['-DNDEBUG', '-O2'] C_WARN = ['-Wno-char-subscripts', '-Wdeclaration-after-statement', '-Wstrict-prototypes'] |