=== SCons ===

* BlenderLib now expects lists for all compiler related flags (release, profile, debug, warn).
  I changed the default config files, but do double-check your user-config files, esp. if you did
  a full copy of an old default platform config
This commit is contained in:
Nathan Letwory
2008-11-04 22:46:43 +00:00
parent a19366f34a
commit 2d80262759
7 changed files with 12 additions and 12 deletions

View File

@@ -417,9 +417,9 @@ class BlenderEnvironment(SConsEnvironment):
if lenv['WITH_BF_BULLET']:
lenv.Append(CPPDEFINES=['WITH_BULLET=1'])
if lenv['BF_DEBUG'] or (libname in quickdebug):
lenv.Append(CFLAGS = Split(lenv['BF_DEBUG_CFLAGS']))
lenv.Append(CCFLAGS = Split(lenv['BF_DEBUG_CCFLAGS']))
lenv.Append(CXXFLAGS = Split(lenv['BF_DEBUG_CXXFLAGS']))
lenv.Append(CFLAGS = lenv['BF_DEBUG_CFLAGS'])
lenv.Append(CCFLAGS = lenv['BF_DEBUG_CCFLAGS'])
lenv.Append(CXXFLAGS = lenv['BF_DEBUG_CXXFLAGS'])
else:
lenv.Append(CFLAGS = lenv['REL_CFLAGS'])
lenv.Append(CCFLAGS = lenv['REL_CCFLAGS'])