summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-10-01 12:55:27 +0100
committerCarl Hetherington <cth@carlh.net>2015-10-01 12:55:27 +0100
commitfc8f50dc682a5fd398d1ea9fafa711fc1f792930 (patch)
treef31ff6c6094ebc75a83e6f3b721300e962ebea37 /cscript
parent192ede4a8f748d685f631f32451a1a78a1c42497 (diff)
Hack.
Diffstat (limited to 'cscript')
-rw-r--r--cscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/cscript b/cscript
index 6b59ab4..e4b83c6 100644
--- a/cscript
+++ b/cscript
@@ -8,10 +8,10 @@ def build(target, options):
# Centos builds using static boost, which means tests don't
# build as test/tests.cc defines BOOST_TEST_DYN_LINK
cmd += ' --disable-tests'
+ if target.distro == 'debian' and target.version == 'unstable':
+ target.append_with_space('CXXFLAGS', '-std=c++11')
elif target.platform == 'windows':
cmd += ' --target-windows'
- elif target.platform == 'debian' and target.version == 'unstable':
- target.append_with_space('CXXFLAGS', '-std=c++11')
target.command(cmd)
target.command('./waf build install')