From: Michael Tremer Date: Mon, 17 Aug 2020 10:05:40 +0000 (+0000) Subject: glibc: aarch64: Ignore uninitialised variables in the stage2 build, too X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=44bfc406407fcba783b532ce5e5bcd91092e08d0;p=people%2Fstevee%2Fipfire-2.x.git glibc: aarch64: Ignore uninitialised variables in the stage2 build, too Signed-off-by: Michael Tremer --- diff --git a/lfs/glibc b/lfs/glibc index abb8b54bbf..802c372a90 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