scons: fixed build error with optimizations enabled

This commit is contained in:
punkrockguy318 2011-10-26 15:52:10 +00:00
parent fade467e75
commit 893fdeea2f
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ print "base CCFLAGS:",env['CCFLAGS']
if env['DEBUG']:
env.Append(CPPDEFINES=["_DEBUG"], CCFLAGS = ['-g'])
else:
env.Append(CCFLAGS = ['O2'])
env.Append(CCFLAGS = ['-O2'])
if env['PLATFORM'] != 'win32' and env['PLATFORM'] != 'cygwin' and env['CREATE_AVI']:
env.Append(CPPDEFINES=["CREATE_AVI"])