From f7c9dce0b630db1a7ed7b9498fdbb47a12f83337 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 9 Dec 2017 19:46:45 +0000 Subject: [PATCH] Hackz. --- cscript | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.30.2