mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
meson: drop -Wno-typedef-redefinition for clang
It was added in1a40a3393efor autotools, sadly with no explanation, and forward-ported to meson in5c23128dab. 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:
committed by
Luca Boccassi
parent
0e9667fd9a
commit
d9af093daf
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user