]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
glibc: fix for older i?86 cpu's
authorArne Fitzenreiter <arne_f@ipfire.org>
Tue, 6 Jul 2021 04:18:09 +0000 (06:18 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 6 Jul 2021 04:18:09 +0000 (06:18 +0200)
with such cpu the libc fails with CPU ISA level is lower than required. So this disable
ISA support.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
lfs/glibc

index 8bbae17462c1c856896f88e43813453503af1b2b..aa7948aed67864b50d48efd3430b4840be883abb 100644 (file)
--- 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 \