]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
glibc: Pass -Wno-error=maybe-uninitialized
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 14 Aug 2020 23:17:14 +0000 (23:17 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 16 Aug 2020 10:29:43 +0000 (10:29 +0000)
This is required to build glibc in the toolchain stage on
aarch64 due to messy headers on the host system.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/glibc

index 546b53b12aad0ffebdb3979deac0fb193cff294d..abb8b54bbfd614f9d006bb0b6f4e176507887077 100644 (file)
--- a/lfs/glibc
+++ b/lfs/glibc
@@ -49,6 +49,8 @@ else
        --with-headers=$(TOOLS_DIR)/include \
        libc_cv_forced_unwind=yes \
        libc_cv_c_cleanup=yes
+
+  CFLAGS += -Wno-error=maybe-uninitialized
 endif
 
 # Disable hardware FP for armv5tel