From 44bfc406407fcba783b532ce5e5bcd91092e08d0 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 17 Aug 2020 10:05:40 +0000 Subject: [PATCH] glibc: aarch64: Ignore uninitialised variables in the stage2 build, too Signed-off-by: Michael Tremer --- lfs/glibc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lfs/glibc b/lfs/glibc index abb8b54bb..802c372a9 100644 --- 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 -- 2.39.5