[Mesa-dev] [PATCH 4/5] Android: add Wundef to the build flags
Emil Velikov
emil.l.velikov at gmail.com
Fri Nov 24 14:25:05 UTC 2017
From: Emil Velikov <emil.velikov at collabora.com>
The compiler will warns us when we're misusing undefined macros.
Note: this will trigger a bunch of warnings, which will be resolved
ASAP.
Cc: Tapani Pälli <tapani.palli at intel.com>
Cc: Rob Herring <robh at kernel.org>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
Android.common.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/Android.common.mk b/Android.common.mk
index 5671c1c1a59..544d813c02d 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -66,6 +66,7 @@ LOCAL_CFLAGS += \
-DHAVE_DLADDR \
-DHAVE_DL_ITERATE_PHDR \
-DMAJOR_IN_SYSMACROS \
+ -Wundef \
-fvisibility=hidden \
-Wno-sign-compare
--
2.14.1
More information about the mesa-dev
mailing list