From b0e7ba1262590642aed7072b94c5448f1ca39a6d Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 8 Mar 2020 02:38:30 +0100 Subject: [PATCH] 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. --- wscript | 3 +++ 1 file changed, 3 insertions(+) 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')