add NDEBUG to scons release flags + some pep8 cleanup for examples.
[blender-staging.git] / build_files / scons / config / freebsd7-config.py
index aa39b193fc710474e06e574bbf6f4d5e779d1b27..387b4ed521af9cdd40c9555c34824e80df214dea 100644 (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