From 7fa910cb68b6c5bc8a6dcc5c71425a5534a76eb2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 1 Oct 2015 12:53:07 +0100 Subject: Fix build on Debian unstable. --- cscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cscript') diff --git a/cscript b/cscript index 3970427..e4b83c6 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': + target.append_with_space('CXXFLAGS', '-std=c++11') elif target.platform == 'windows': cmd += ' --target-windows' target.command(cmd) -- cgit v1.2.3