]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/glibc
glibc: aarch64: Ignore uninitialised variables in the stage2 build, too
[ipfire-2.x.git] / lfs / glibc
index abb8b54bbfd614f9d006bb0b6f4e176507887077..802c372a904bf283fe2d3bd26b220d058b7fa2fe 100644 (file)
--- a/lfs/glibc
+++ b/lfs/glibc
@@ -49,8 +49,10 @@ else
        --with-headers=$(TOOLS_DIR)/include \
        libc_cv_forced_unwind=yes \
        libc_cv_c_cleanup=yes
+endif
 
-  CFLAGS += -Wno-error=maybe-uninitialized
+ifeq "$(BUILD_ARCH)" "aarch64"
+       CFLAGS += -Wno-error=maybe-uninitialized
 endif
 
 # Disable hardware FP for armv5tel