diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-10-01 12:53:07 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-10-01 12:58:04 +0100 |
| commit | 7fa910cb68b6c5bc8a6dcc5c71425a5534a76eb2 (patch) | |
| tree | fde62083998b1c410fa240515d46854fd8937d4b /cscript | |
| parent | 16a5e08b5a4947c34eac5335c016a8c7bafa56c6 (diff) | |
Fix build on Debian unstable.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |
