13
0

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.
This commit is contained in:
Robin Gareus 2020-03-08 02:38:30 +01:00
parent ede853d791
commit b0e7ba1262
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -687,6 +687,9 @@ int main() { return 0; }''',
('-D__STDC_LIMIT_MACROS', '-D__STDC_FORMAT_MACROS', ('-D__STDC_LIMIT_MACROS', '-D__STDC_FORMAT_MACROS',
'-DCANVAS_COMPATIBILITY', '-DCANVAS_DEBUG')) '-DCANVAS_COMPATIBILITY', '-DCANVAS_DEBUG'))
# Do not use Boost.System library
cxx_flags.append('-DBOOST_ERROR_CODE_HEADER_ONLY')
# use sparingly, prefer runtime profile # use sparingly, prefer runtime profile
if Options.options.program_name.lower().startswith('mixbus'): if Options.options.program_name.lower().startswith('mixbus'):
compiler_flags.append ('-DMIXBUS') compiler_flags.append ('-DMIXBUS')