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

diff --git a/cscript b/cscript
index b09bbc454fa4e83eb270e2ea2638ed2c9c975910..f87c2948984ae0e42794f44d1221e94c48a22437 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')
     if target.debug:
         cmd += ' --enable-debug'