[PATCH v2 4/6] Add a reference to Clang /usr/include/tgmath.h dependency
Sam James
sam@gentoo.org
Sun Dec 22 22:25:43 GMT 2024
"H.J. Lu" <hjl.tools@gmail.com> writes:
> 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>
> ---
> Makerules | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Makerules b/Makerules
> index c8b54f7d9a..b60b7e2315 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' \
Reviewed-by: Sam James <sam@gentoo.org>
More information about the Libc-alpha
mailing list