From 1499aabd59592759e3143615ad981995ba0b36a4 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 1 Sep 2019 17:36:22 +0100 Subject: Revert "Gentoo: Fix 'make install-headers' when cross-compiler is not available yet." This reverts commit 6cbeeefee981729532160767e3dbbc6ff37295d9. In https://sourceware.org/PR24577 we discovered that riscv can't really install libc headers as it needs a cross-compiler. Bug: https://sourceware.org/PR24577 Bug: https://bugs.gentoo.org/692052 Bug: https://bugs.gentoo.org/686248 --- Makerules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makerules b/Makerules index ed02fe2bee..83bdd3a44d 100644 --- a/Makerules +++ b/Makerules @@ -1422,7 +1422,7 @@ $(stdio_lim:h=st): $(..)stdio-common/stdio_lim.h.in $(..)Rules \ $(make-target-directory) { echo '#include "$(..)posix/bits/posix1_lim.h"'; \ } | \ - $(CC) $(CFLAGS) $(CPPFLAGS) -E -dM -MD -MP -MF $(@:st=dT) -MT '$(@:st=h) $(@:st=d)' \ + $(CC) -E -dM -MD -MP -MF $(@:st=dT) -MT '$(@:st=h) $(@:st=d)' \ $(CPPUNDEFS) $(+includes) -xc - -o $(@:st=hT) sed $(sed-remove-objpfx) $(sed-remove-dotdot) \ $(@:st=dT) > $(@:st=dt) -- cgit v1.2.3-65-gdbad