Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStephen Swaney <sswaney@centurytel.net>2006-03-14 21:28:47 +0300
committerStephen Swaney <sswaney@centurytel.net>2006-03-14 21:28:47 +0300
commitc538f3e19f48915cbe498e3fbf50e08a726eab73 (patch)
tree8682b760f21d133d5cedbf65322ad7bed948a654 /tools
parentfe3506f6d409c39f6e9fddcdf4dc94f454cbae1a (diff)
tweak SCons to use Split() to parse BF_DEBUG_FLAGS and BF_PROFILE_FLAGS
properly when they have multiple options.
Diffstat (limited to 'tools')
-rw-r--r--tools/Blender.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/Blender.py b/tools/Blender.py
index 8cfbc1150f2..e0967d0e06a 100644
--- a/tools/Blender.py
+++ b/tools/Blender.py
@@ -350,11 +350,11 @@ class BlenderEnvironment(SConsEnvironment):
if lenv['WITH_BF_GAMEENGINE']:
lenv.Append(CPPDEFINES=['GAMEBLENDER=1'])
if lenv['BF_DEBUG']:
- lenv.Append(CCFLAGS = lenv['BF_DEBUG_FLAGS'], CXXFLAGS = lenv['BF_DEBUG_FLAGS'])
+ lenv.Append(CCFLAGS = Split(lenv['BF_DEBUG_FLAGS']), CXXFLAGS = Split(lenv['BF_DEBUG_FLAGS']))
else:
lenv.Append(CCFLAGS = lenv['REL_CFLAGS'], CXXFLAGS = lenv['REL_CCFLAGS'])
if lenv['BF_PROFILE']:
- lenv.Append(CCFLAGS = lenv['BF_PROFILE_FLAGS'], CXXFLAGS = lenv['BF_PROFILE_FLAGS'])
+ lenv.Append(CCFLAGS = Split(lenv['BF_PROFILE_FLAGS']), CXXFLAGS = Split(lenv['BF_PROFILE_FLAGS']))
if compileflags:
lenv.Append(CCFLAGS = compileflags)
lenv.Append(CXXFLAGS = compileflags)