summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-09-25 19:24:52 +0100
committerCarl Hetherington <cth@carlh.net>2015-09-25 19:24:52 +0100
commit7e1830fbd243d8bce3c63f100d51ed1218516b4c (patch)
tree621c496a07057eba10dda8434907d6b99fe7259c /cscript
parentcf4e397af82350bf4aed2ddf4fb2e8a890ce5ea9 (diff)
Try to fix build on debian unstable again.
Diffstat (limited to 'cscript')
-rw-r--r--cscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/cscript b/cscript
index 2d2d2f2..7fa6051 100644
--- a/cscript
+++ b/cscript
@@ -9,7 +9,7 @@ def build(target, options):
# 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'
+ cmd = 'CXX=g++-4.9 ' + cmd
elif target.platform == 'windows':
cmd += ' --target-windows'
target.command(cmd)