build: squash various warnings with Clang

Otherwise we have really chatty builds that make it difficult to catch
new issues when compiling.
This commit is contained in:
Christian Hergert 2020-07-17 17:59:09 -07:00
parent 7884ab6161
commit 514b62223d

View File

@ -235,6 +235,8 @@ if cc.get_id() == 'msvc'
elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
test_cflags = [
'-fno-strict-aliasing',
'-Wno-c++11-extensions',
'-Wno-missing-include-dirs',
'-Wno-typedef-redefinition',
'-Wcast-align',
'-Wduplicated-branches',