diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-12-09 21:30:46 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-12-09 21:30:46 +0000 |
| commit | 476c0e9c7c129909ccbb914feacd977e2f60228b (patch) | |
| tree | 475097c07b35d4d566e81a2f60e2d0d06be35cd6 /wscript | |
| parent | 9300212bd136476d986f4f667b4b78bd619ec7dc (diff) | |
Remove special-casing C++11 stuff.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -68,13 +68,6 @@ def configure(conf): conf.recurse('test') - # libxml++ 2.39.1 and later must be built with -std=c++11 - libxmlpp_version = conf.cmd_and_log(['pkg-config', '--modversion', 'libxml++-2.6'], output=Context.STDOUT, quiet=Context.BOTH) - s = libxmlpp_version.split('.') - v = (int(s[0]) << 16) | (int(s[1]) << 8) | int(s[2]) - if v >= 0x022701: - conf.env.append_value('CXXFLAGS', '-std=c++11') - def build(bld): bld(source='libcxml.pc.in', |
