sys-libs/glibc: make clang less spammy

Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel 2025-12-19 16:00:43 +01:00
parent 6e14b2dd0f
commit 5820144e65
No known key found for this signature in database
GPG Key ID: DC2B16215ED5412A

View File

@ -470,6 +470,11 @@ setup_flags() {
append-ldflags '-Wl,--hash-style=both'
fi
# clang warns about linker flags unused during compilation, but we don't
# want that to turn into errors!
# Let's turn the warning off entirely since it spams.
append-flags -Wno-unused-command-line-argument
# #492892
filter-flags -frecord-gcc-switches