summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-09-25 19:23:44 +0100
committerCarl Hetherington <cth@carlh.net>2015-09-25 19:23:44 +0100
commitcf4e397af82350bf4aed2ddf4fb2e8a890ce5ea9 (patch)
treeae4bc0303c20f7f621d2ac6569ac24ecee8fbf5d
parent276bd292715abe9c04c6af9bd9d77c592fbb226c (diff)
Try to fix build on debian unstable again.
-rw-r--r--cscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/cscript b/cscript
index 3970427..2d2d2f2 100644
--- a/cscript
+++ b/cscript
@@ -8,6 +8,8 @@ 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':
+ cmd += ' --check-cxx-compiler=g++-4.9'
elif target.platform == 'windows':
cmd += ' --target-windows'
target.command(cmd)