diff --git a/meson.build b/meson.build index aa629dff46787a4bb537927fe2f76b3d91b48b6a..483ed5aa0d9100ba7c636f53362db382e01a187e 100644 --- a/meson.build +++ b/meson.build @@ -5,6 +5,15 @@ # ############################################################ +# TODO: +# +# shared_library build +# 'accurate' and 'generic' builds +# test non-debug version (meson builds generic by default) +# profile-guided optimization +# build with clang +# build with various old compilers + ############################################################ # define the binary_c project project( @@ -231,7 +240,12 @@ if run_command('sh','-c','meson/diff_starstruct.sh').returncode() == 0 cflags += '-D__DIFF_STARDATA__' endif - +######################## +# Unsupported features # +######################## +if compiler.get_id() != 'gcc' and compiler.get_id() != 'clang' + cflags += '-UBACKTRACE' +endif ############################################################ # make a list of include directories