Hackz. test
authorCarl Hetherington <cth@carlh.net>
Sat, 9 Dec 2017 19:46:45 +0000 (19:46 +0000)
committerCarl Hetherington <cth@carlh.net>
Sat, 9 Dec 2017 19:46:45 +0000 (19:46 +0000)
cscript

diff --git a/cscript b/cscript
index 53e54e8b07baa5ed161a5b34b3e7329fa964f2ad..3accf0001bb785024d3f4d35aac0cbb9477c6b4a 100644 (file)
--- a/cscript
+++ b/cscript
@@ -35,6 +35,8 @@ def build(target, options):
             (target.distro == 'fedora' and target.version == '23') or
             (target.distro == 'centos' and target.version == '7')):
             target.append_with_space('CXXFLAGS', '-std=c++11')
+        if target.distro == 'centos' and target.version == '7':
+            target.append_with_space('CXXFLAGS', '-DBOOST_NO_CXX11_SCOPED_ENUMS')
     elif target.platform == 'windows':
         cmd += ' --target-windows'
     target.command(cmd)