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:
authorNathan Letwory <nathan@letworyinteractive.com>2006-02-04 18:44:34 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2006-02-04 18:44:34 +0300
commitc0234bd9ecb0c7ab1065dfe4ebaf779fe8d99426 (patch)
tree7ed89bffbd72d38cdfac59288d3c20d410702045 /tools
parent0884402f2bd52365ddd964d677f3fceaa92e91f9 (diff)
==SCons==
* add REL_CFLAGS and REL_CCFLAGS when not building debug. This adds NDEBUG to compile on Win32 * fix path to makesdna binary
Diffstat (limited to 'tools')
-rw-r--r--tools/Blender.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/Blender.py b/tools/Blender.py
index 0da25350620..11c5251a899 100644
--- a/tools/Blender.py
+++ b/tools/Blender.py
@@ -275,6 +275,8 @@ class BlenderEnvironment(SConsEnvironment):
lenv.Append(CPPDEFINES=['GAMEBLENDER=1'])
if lenv['BF_DEBUG']:
lenv.Append(CCFLAGS = lenv['BF_DEBUG_FLAGS'], CXXFLAGS = 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'])
if compileflags: