summaryrefslogtreecommitdiff
path: root/scons/wcesdk.py
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-09-29 14:24:52 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-09-29 14:24:52 +0100
commite3a3a5378e4a1b45f30fcb26730d6c73e623cfac (patch)
tree70b879c69e35d89fe0216509d82fd15f603bed72 /scons/wcesdk.py
parent67450f0644f61fc17ab1315124dfe50537d36e9e (diff)
scons: New build= option, with support for checked builds.
Where checked build is compiler optimizations plus debugging checks -- ideal for testing CPU bound loads and running test automation loads.
Diffstat (limited to 'scons/wcesdk.py')
-rw-r--r--scons/wcesdk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scons/wcesdk.py b/scons/wcesdk.py
index bf73c2d73f..e82f255c51 100644
--- a/scons/wcesdk.py
+++ b/scons/wcesdk.py
@@ -122,7 +122,7 @@ def get_wce600_paths(env):
host_cpu = os.environ.get('_HOSTCPUTYPE', 'i386')
target_cpu = os.environ.get('_TGTCPU', 'x86')
- if env['debug']:
+ if env['build'] == 'debug':
build = 'debug'
else:
build = 'retail'