diff --git a/meson.build b/meson.build index 483ed5aa0d9100ba7c636f53362db382e01a187e..6ed1e42e204fcf231d11ddb59480476073ca1689 100644 --- a/meson.build +++ b/meson.build @@ -3,16 +3,21 @@ # # (c) Robert Izzard 10/11/2019 # +# Known to work with binary_c 2.1.3 using gcc and clang. +# ############################################################ +############################################################ # TODO: # +# fix precompiled headers (meson seems broken with these) # shared_library build -# 'accurate' and 'generic' builds +# 'accurate', 'generic', 'gprof'/'gcov' 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 @@ -103,7 +108,7 @@ endforeach if compiler.get_id() == 'clang' # clang flags - cflags += [] + cflags += [ '-fbracket-depth=512' ] else # default to gcc flags cflags += []