From: Arne Fitzenreiter Date: Tue, 6 Jul 2021 04:18:09 +0000 (+0200) Subject: glibc: fix for older i?86 cpu's X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=955ab2f5c3a06b2c29ee9b992f80d20759fc4fc8;p=people%2Fstevee%2Fipfire-2.x.git glibc: fix for older i?86 cpu's with such cpu the libc fails with CPU ISA level is lower than required. So this disable ISA support. Signed-off-by: Arne Fitzenreiter --- diff --git a/lfs/glibc b/lfs/glibc index 8bbae17462..aa7948aed6 100644 --- a/lfs/glibc +++ b/lfs/glibc @@ -55,6 +55,10 @@ ifeq "$(BUILD_ARCH)" "aarch64" CFLAGS += -Wno-error=maybe-uninitialized endif +ifeq "$(BUILD_ARCH)" "i586" + EXTRA_CONFIG += libc_cv_include_x86_isa_level=no +endif + # Add some general configuration flags EXTRA_CONFIG += \ --disable-profile \