From c4b86c32c25fab55fe567fd439dedd2d02608a3d Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Mon, 2 Sep 2019 09:58:54 +0200 Subject: 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 --- rules/glibc-headers.make | 1 + 1 file changed, 1 insertion(+) 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" \ -- cgit v1.2.3