diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-12-16 07:30:44 +0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-12-22 12:50:53 +0800 |
commit | b2ec6f72b86e2ed9d0244c2b4ad801706644c43b (patch) | |
tree | d97ed8770cacf3e581b3c2c2e845c6b674931dc5 | |
parent | bdc7f4b4e25f49b4e25578d98d58b113d0e961f1 (diff) | |
download | glibc-b2ec6f72b86e2ed9d0244c2b4ad801706644c43b.zip glibc-b2ec6f72b86e2ed9d0244c2b4ad801706644c43b.tar.gz glibc-b2ec6f72b86e2ed9d0244c2b4ad801706644c43b.tar.bz2 |
Remove Clang /usr/include/tgmath.h dependency
Remove the /usr/include/tgmath.h dependency generated by Clang even though
Clang never reads /usr/include/tgmath.h.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
-rw-r--r-- | Makerules | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -469,9 +469,13 @@ S-CPPFLAGS = -DASSEMBLER $(asm-CPPFLAGS) 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. define sed-remove-objpfx -e 's@ $(subst .,\.,$(subst @,\@,$(common-objpfx)))@ $$(common-objpfx)@g' \ --e 's@^$(subst .,\.,$(subst @,\@,$(common-objpfx)))@$$(common-objpfx)@g' +-e 's@^$(subst .,\.,$(subst @,\@,$(common-objpfx)))@$$(common-objpfx)@g' \ +-e 's@/usr/include/tgmath.h:@@' \ +-e 's@ /usr/include/tgmath.h@@' endef endif |