[59/62] glibc: Pass -Wno-error=maybe-uninitialized

Message ID 20200816102953.3881-59-michael.tremer@ipfire.org
State Accepted
Commit de57b780be00e5385efa4054c346090bb36ae3ed
Headers
Series [01/62] bison: Update to 3.7.1 |

Commit Message

Michael Tremer Aug. 16, 2020, 10:29 a.m. UTC
  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(+)
  

Patch

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