summaryrefslogtreecommitdiffstats
path: root/scons/wcesdk.py
diff options
context:
space:
mode:
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 bf73c2d73f0..e82f255c515 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'