From b9adff0e90cba0c020ad55bb3c30168378843012 Mon Sep 17 00:00:00 2001 From: xuxingliang Date: Mon, 29 Jul 2024 19:41:44 +0800 Subject: [PATCH] libm/newlib: remove -Wno-maybe-uninitialized Since there's no warning presents now. Signed-off-by: xuxingliang --- libs/libm/newlib/Make.defs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libm/newlib/Make.defs b/libs/libm/newlib/Make.defs index 77e56a8e0e229..7675718a16ead 100644 --- a/libs/libm/newlib/Make.defs +++ b/libs/libm/newlib/Make.defs @@ -116,6 +116,6 @@ endif CSRCS := $(shell echo $(notdir $(CSRCS) | tr " " "\n" | sort | uniq)) -CFLAGS += -Wno-undef -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-maybe-uninitialized +CFLAGS += -Wno-undef -Wno-unused-but-set-variable -Wno-unused-const-variable CFLAGS += ${INCDIR_PREFIX}newlib/newlib/newlib/libm/common CFLAGS += -D__int32_t=int32_t -D__uint32_t=uint32_t -D_REENT=0 -D_REENT_THREAD_LOCAL=1