summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
Diffstat (limited to 'cscript')
-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)