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 | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/lfs/glibc b/lfs/glibc index 546b53b12..abb8b54bb 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