[external][libm] add -Wno-maybe-uninitialized
Some older code triggers this warning on gcc 12.1.
This commit is contained in:
2
external/lib/libm/rules.mk
vendored
2
external/lib/libm/rules.mk
vendored
@@ -2,7 +2,7 @@ LOCAL_DIR := $(GET_LOCAL_DIR)
|
||||
|
||||
MODULE := $(LOCAL_DIR)
|
||||
|
||||
MODULE_CFLAGS += -Wno-unused-variable -Wno-sign-compare -Wno-parentheses -Wno-double-promotion
|
||||
MODULE_CFLAGS += -Wno-unused-variable -Wno-sign-compare -Wno-parentheses -Wno-double-promotion -Wno-maybe-uninitialized
|
||||
|
||||
MODULE_SRCS += \
|
||||
$(LOCAL_DIR)/k_sin.c \
|
||||
|
||||
Reference in New Issue
Block a user