From 955ab2f5c3a06b2c29ee9b992f80d20759fc4fc8 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Tue, 6 Jul 2021 06:18:09 +0200 Subject: [PATCH] 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 --- lfs/glibc | 4 ++++ 1 file changed, 4 insertions(+) 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 \ -- 2.39.5