commit: 5820144e65cdb83292a877b82bdcb41a202a716a
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 19 15:00:43 2025 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Dec 19 15:02:30 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5820144e
sys-libs/glibc: make clang less spammy
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
sys-libs/glibc/glibc-9999.ebuild | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index 9307d6f02b6c..20b5aec460fa 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -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