summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-02-03 00:44:39 +0100
committerCarl Hetherington <cth@carlh.net>2020-02-03 00:44:39 +0100
commit093bf00ec6bd04fbb93641c2b6cdb3e13e9a4ccd (patch)
treecf932d214f6e58c2cfecdea5059d2b3a6153b50c /cscript
parent661ca6fbe4c8512f1341c87f5bef48d39709e943 (diff)
Tidy up previous slightly.
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)