From de57b780be00e5385efa4054c346090bb36ae3ed Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 14 Aug 2020 23:17:14 +0000 Subject: [PATCH] glibc: Pass -Wno-error=maybe-uninitialized 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 --- lfs/glibc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lfs/glibc b/lfs/glibc index 546b53b12a..abb8b54bbf 100644 --- 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 -- 2.39.5