add NDEBUG to scons release flags + some pep8 cleanup for examples.

This commit is contained in:
Campbell Barton
2011-02-25 16:19:50 +00:00
parent b25db7c8cb
commit bc15e0e295
20 changed files with 34 additions and 33 deletions

View File

@@ -180,8 +180,8 @@ CXXFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing','-D_LARGEFI
if WITH_BF_FFMPEG:
# libavutil needs UINT64_C()
CXXFLAGS += ['-D__STDC_CONSTANT_MACROS', ]
REL_CFLAGS = ['-O2']
REL_CCFLAGS = ['-O2']
REL_CFLAGS = ['-DNDEBUG', '-O2']
REL_CCFLAGS = ['-DNDEBUG', '-O2']
##BF_DEPEND = True
##
##AR = ar