summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-09-02 09:58:54 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-09-02 16:06:19 +0200
commitc4b86c32c25fab55fe567fd439dedd2d02608a3d (patch)
tree954484c0e3a8b2e45b64b0489897f13369aabafc /rules
parentb0ebb0a605f5b653f4ddc54731e8b26ac8e1951f (diff)
downloadOSELAS.Toolchain-c4b86c32c25fab55fe567fd439dedd2d02608a3d.tar.gz
OSELAS.Toolchain-c4b86c32c25fab55fe567fd439dedd2d02608a3d.tar.xz
glibc-headers: skip the compiler check
It's meaningless. We fake some minimal stuff with the host compiler to get the headers. The compiler version is not relevant here. This makes it possible to build the toolchain with a host gcc 5.x even though glibc-2.30 requires gcc >= 6.2. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r--rules/glibc-headers.make1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/glibc-headers.make b/rules/glibc-headers.make
index 17a2655..23fd3aa 100644
--- a/rules/glibc-headers.make
+++ b/rules/glibc-headers.make
@@ -45,6 +45,7 @@ GLIBC_HEADERS_ENV := \
$(HOST_ENV) \
CC="gcc $(PTXCONF_GLIBC_HEADERS_FAKE_CROSS)" \
\
+ libc_cv_compiler_ok=yes \
libc_cv_prog_as_gnu=yes \
libc_cv_prog_ld_gnu=yes \
ac_cv_prog_AS="$(PTXDIST_SYSROOT_CROSS)$(PTXCONF_PREFIX_CROSS)/bin/$(COMPILER_PREFIX)as" \