diff options
author | Robin Gareus <robin@gareus.org> | 2015-09-26 00:22:56 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-09-26 00:22:56 +0200 |
commit | 0613b7517c905f16877ba352e7ba9d8f5862a307 (patch) | |
tree | 273d25885b5d1847cc2caacda8c61cb4e836c314 /wscript | |
parent | 26fdf99a92abfd3e84ae5fb768cb73f99563c156 (diff) |
gcc5/c++11 deprecates std::auto_ptr
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -394,6 +394,8 @@ int main() { return 0; }''', linker_flags.append('--stdlib=libstdc++') # Prevents visibility issues in standard headers conf.define("_DARWIN_C_SOURCE", 1) + else: + cxx_flags.append('-DBOOST_NO_AUTO_PTR') if (is_clang and platform == "darwin") or conf.env['build_host'] in ['mavericks', 'yosemite']: # Silence warnings about the non-existing osx clang compiler flags |