mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
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>
This commit is contained in:
parent
bdc7f4b4e2
commit
b2ec6f72b8
1 changed files with 5 additions and 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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue