meson: drop -Wno-typedef-redefinition for clang

It was added in 1a40a3393e for autotools,
sadly with no explanation, and forward-ported to meson in
5c23128dab. Things seems to work fine without
it now so drop it.

Tested with clang-20.1.5-1.fc43.x86_64.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2025-06-09 17:14:17 +02:00
committed by Luca Boccassi
parent 0e9667fd9a
commit d9af093daf

View File

@@ -486,12 +486,6 @@ if get_option('b_sanitize') == 'none'
possible_link_flags += '-Wl,--warn-common'
endif
if cc.get_id() == 'clang'
possible_common_cc_flags += [
'-Wno-typedef-redefinition',
]
endif
if get_option('mode') == 'release'
# We could enable 'pattern' for developer mode, but that can interfere with
# valgrind and sanitizer builds. Also, clang does not zero-initialize unions,