From cb74bafbb51ba291676ab7ed3b690a47ffebc567 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 23 Dec 2024 05:12:01 +0800 Subject: [PATCH] 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 Reviewed-by: Sam James --- 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' \