aboutsummaryrefslogtreecommitdiff
path: root/external/lib/libm/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'external/lib/libm/rules.mk')
-rw-r--r--external/lib/libm/rules.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/external/lib/libm/rules.mk b/external/lib/libm/rules.mk
index ca93ce00..0ee81f5a 100644
--- a/external/lib/libm/rules.mk
+++ b/external/lib/libm/rules.mk
@@ -2,7 +2,10 @@ LOCAL_DIR := $(GET_LOCAL_DIR)
MODULE := $(LOCAL_DIR)
-MODULE_CFLAGS += -Wno-unused-variable -Wno-sign-compare -Wno-parentheses -Wno-double-promotion -Wno-maybe-uninitialized
+MODULE_CFLAGS += -Wno-unused-variable -Wno-sign-compare -Wno-parentheses -Wno-double-promotion
+ifeq ($(call is_warning_flag_supported,-Wmaybe-uninitialized),yes)
+MODULE_CFLAGS += -Wno-maybe-uninitialized
+endif
MODULE_OPTIONS := float
MODULE_SRCS += \