Allow force-cpp11 via cdist options.
authorCarl Hetherington <cth@carlh.net>
Sun, 2 Feb 2020 23:43:04 +0000 (00:43 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 2 Feb 2020 23:43:04 +0000 (00:43 +0100)
cscript

diff --git a/cscript b/cscript
index 42260e40065e7744b3d9822b4b3d64979928851d..7090dd8db31581d95096ac93a64c7b9e5758b632 100644 (file)
--- a/cscript
+++ b/cscript
@@ -69,6 +69,9 @@ def build(target, options):
     if target.debug:
         cmd += ' --enable-debug'
 
+    if options is not None and 'force-cpp11' in options:
+        cmd += ' --force-cpp11'
+
     target.command(cmd)
     target.command('./waf build install')