summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
Diffstat (limited to 'cscript')
-rw-r--r--cscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/cscript b/cscript
index 7090dd8d..2cdf3149 100644
--- a/cscript
+++ b/cscript
@@ -69,7 +69,7 @@ def build(target, options):
if target.debug:
cmd += ' --enable-debug'
- if options is not None and 'force-cpp11' in options:
+ if options is not None and 'force-cpp11' in options and options['force-cpp11']:
cmd += ' --force-cpp11'
target.command(cmd)