mirror of git://sourceware.org/git/glibc.git
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
|
|
@ -469,9 +469,13 @@ S-CPPFLAGS = -DASSEMBLER $(asm-CPPFLAGS)
|
||||||
|
|
||||||
ifneq (,$(objpfx))
|
ifneq (,$(objpfx))
|
||||||
# Continuation lines here are dangerous because they introduce spaces!
|
# 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
|
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@^$(subst .,\.,$(subst @,\@,$(common-objpfx)))@$$(common-objpfx)@g' \
|
||||||
|
-e 's@/usr/include/tgmath.h:@@' \
|
||||||
|
-e 's@ /usr/include/tgmath.h@@'
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue