aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2024-12-23 05:12:01 +0800
committerH.J. Lu <hjl.tools@gmail.com>2024-12-23 06:28:55 +0800
commitcb74bafbb51ba291676ab7ed3b690a47ffebc567 (patch)
treed8f9f9609cadf52b4c56bc5288a2456098716dd9
parent0813cb584731c2df3c37bb3e3631ef37a821d599 (diff)
downloadglibc-cb74bafbb51ba291676ab7ed3b690a47ffebc567.zip
glibc-cb74bafbb51ba291676ab7ed3b690a47ffebc567.tar.gz
glibc-cb74bafbb51ba291676ab7ed3b690a47ffebc567.tar.bz2
Add a reference to Clang /usr/include/tgmath.h dependency
The fake Clang /usr/include/tgmath.h dependency bug is: https://github.com/llvm/llvm-project/issues/120891 Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Reviewed-by: Sam James <sam@gentoo.org>
-rw-r--r--Makerules1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index c8b54f7d..b60b7e2 100644
--- a/Makerules
+++ b/Makerules
@@ -471,6 +471,7 @@ ifneq (,$(objpfx))
# Continuation lines here are dangerous because they introduce spaces!
# Also remove the /usr/include/tgmath.h dependency generated by Clang
# even though Clang never reads /usr/include/tgmath.h.
+# https://github.com/llvm/llvm-project/issues/120891
define sed-remove-objpfx
-e 's@ $(subst .,\.,$(subst @,\@,$(common-objpfx)))@ $$(common-objpfx)@g' \
-e 's@^$(subst .,\.,$(subst @,\@,$(common-objpfx)))@$$(common-objpfx)@g' \