Try to fix build on Fedora 23.
authorCarl Hetherington <cth@carlh.net>
Fri, 6 Nov 2015 21:03:05 +0000 (21:03 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 6 Nov 2015 21:03:05 +0000 (21:03 +0000)
cscript

diff --git a/cscript b/cscript
index 24f8e156a9e0d384162e6ece622b703924c9d33e..4f2fd2d40caef7b8fc7aad6818514879aa355fbe 100644 (file)
--- a/cscript
+++ b/cscript
@@ -9,7 +9,7 @@ def build(target, options):
         cmd += ' --static'
         if target.distro == 'centos':
             cmd += ' --disable-tests'
-        if target.distro == 'debian' and target.version == 'unstable':
+        if (target.distro == 'debian' and target.version == 'unstable' or target.distro == 'fedora' and target.version == '23'):
             target.append_with_space('CXXFLAGS', '-std=c++11')
     elif target.platform == 'windows':
         cmd += ' --target-windows --disable-tests'