summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-09-01 17:36:22 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2019-09-01 17:36:22 +0100
commit1499aabd59592759e3143615ad981995ba0b36a4 (patch)
treeab3683485768ae698ae4b01903627fc5725b26dd
parent[no-patch] Gentoo: Add compile-locales warning functionality to locale-gen (diff)
downloadglibc-1499aabd59592759e3143615ad981995ba0b36a4.tar.gz
glibc-1499aabd59592759e3143615ad981995ba0b36a4.tar.bz2
glibc-1499aabd59592759e3143615ad981995ba0b36a4.zip
Revert "Gentoo: Fix 'make install-headers' when cross-compiler is not available yet."gentoo/glibc-2.29-6gentoo/glibc-2.29-5
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
-rw-r--r--Makerules2
1 files changed, 1 insertions, 1 deletions
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)