build: Add -Wno-typedef-redefinition to build

Clang otherwise complains about this
This commit is contained in:
Timm Bäder 2020-03-12 08:32:34 +01:00
parent 822d67295a
commit 73d8f6a090

View File

@ -237,6 +237,7 @@ if cc.get_id() == 'msvc'
elif cc.get_id() == 'gcc' or cc.get_id() == 'clang' elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
test_cflags = [ test_cflags = [
'-fno-strict-aliasing', '-fno-strict-aliasing',
'-Wno-typedef-redefinition',
'-Wcast-align', '-Wcast-align',
'-Wduplicated-branches', '-Wduplicated-branches',
'-Wduplicated-cond', '-Wduplicated-cond',