summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-12-11 23:53:23 +0000
committerCarl Hetherington <cth@carlh.net>2017-12-11 23:53:23 +0000
commit273ec0d6a37565e4513ebbde6cae242be36f173b (patch)
treeb70e5798a42146d7611aca1f42435073edfd5f93 /cscript
parent14c5566fe90b2584c7474c3250e6506d70e81510 (diff)
More C++11 fixes.
Diffstat (limited to 'cscript')
-rw-r--r--cscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/cscript b/cscript
index 69aa855aa..1a32daac6 100644
--- a/cscript
+++ b/cscript
@@ -308,6 +308,11 @@ def configure_options(target):
opt += ' --static-boost --static-xmlpp'
elif target.version == '7':
opt += ' --workaround-gssapi'
+ # Centos 7 ships with glibmm 2.50.0 which requires C++11
+ # but its compiler (gcc 4.8.5) defaults to C++97. Go figure.
+ # I worry that this will cause ABI problems but I don't have
+ # a better solution.
+ opt += ' --force-cpp11'
# Build Windows debug versions with static linking as I think gdb works better then
if target.debug and target.platform == 'windows':