summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-03-08 02:38:30 +0100
committerRobin Gareus <robin@gareus.org>2020-03-08 02:38:30 +0100
commitb0e7ba1262590642aed7072b94c5448f1ca39a6d (patch)
tree9c6291f5a288593c2122d10c46d5c36182ffc5da /wscript
parentede853d791f1bc88537d538162c7a7fb05f65028 (diff)
Fix for modern boost + updated buildstack
Ardour's boost is not compiled --with-system, this causes issues with modern compilers (gcc 8.2) when linking.
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/wscript b/wscript
index 83495886bf..1bac50db2d 100644
--- a/wscript
+++ b/wscript
@@ -687,6 +687,9 @@ int main() { return 0; }''',
('-D__STDC_LIMIT_MACROS', '-D__STDC_FORMAT_MACROS',
'-DCANVAS_COMPATIBILITY', '-DCANVAS_DEBUG'))
+ # Do not use Boost.System library
+ cxx_flags.append('-DBOOST_ERROR_CODE_HEADER_ONLY')
+
# use sparingly, prefer runtime profile
if Options.options.program_name.lower().startswith('mixbus'):
compiler_flags.append ('-DMIXBUS')