summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-12-09 19:46:45 +0000
committerCarl Hetherington <cth@carlh.net>2017-12-09 19:46:45 +0000
commitf7c9dce0b630db1a7ed7b9498fdbb47a12f83337 (patch)
tree32b2be3748b698bc04d4366edc3b676d16714ba1
parent10768e2cd20f075ac857e37dffbd9011557147d4 (diff)
Hackz.test
-rw-r--r--cscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/cscript b/cscript
index 53e54e8..3accf00 100644
--- 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)