[Mesa-dev] [PATCH 3/3] Revert "Android: add -Wno-date-time flag for clang"

Emil Velikov emil.l.velikov at gmail.com
Tue Sep 5 14:23:25 UTC 2017


This reverts commit 6dae9176d60d12de61aa03906c44f81e20ef7622.

No longer needed as of last commit.

Cc: Rob Herring <robh at kernel.org>
---
Rob, this obviously depends if the previous patch lands.

Regardless, are you setting the DEBUG macro yourself or the AOSP does it
for you? There are a handful things controlled by it, which will lead to
runtime slow down.

As such it might be better to disable it, esp. if you haven't requested
it explicitly.
---
 Android.common.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Android.common.mk b/Android.common.mk
index 25ea8a3c490..4d5daf8e9dd 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -32,7 +32,6 @@ LOCAL_C_INCLUDES += \
 MESA_VERSION := $(shell cat $(MESA_TOP)/VERSION)
 LOCAL_CFLAGS += \
 	-Wno-unused-parameter \
-	-Wno-date-time \
 	-Wno-pointer-arith \
 	-Wno-missing-field-initializers \
 	-Wno-initializer-overrides \
-- 
2.14.1



More information about the mesa-dev mailing list