std=c++11 for Debian Unstable.
authorCarl Hetherington <cth@carlh.net>
Thu, 1 Oct 2015 12:46:41 +0000 (13:46 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 1 Oct 2015 20:32:21 +0000 (21:32 +0100)
cscript

diff --git a/cscript b/cscript
index 6ee7f7eea0a60034f785a34897e4a382d2c4193c..b6ff8612af48d148f566b0856dba32ba9227d3b9 100644 (file)
--- a/cscript
+++ b/cscript
@@ -269,6 +269,8 @@ def configure_options(target):
                 opt += ' --static-boost --static-xmlpp'
             elif target.version == '7':
                 opt += ' --workaround-gssapi --static-xmlpp'
+        if target.distro == 'debian' and target.version == 'unstable':
+            target.append_with_space('CXXFLAGS', '-std=c++11')
 
     return opt