diff options
author | Rob Herring <robh@kernel.org> | 2016-02-24 12:56:26 -0600 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-02-29 10:51:44 +0000 |
commit | 6dae9176d60d12de61aa03906c44f81e20ef7622 (patch) | |
tree | 28fb17a25ac290f5afd96df5c6645659fe1d9115 /Android.common.mk | |
parent | a2f16db19b18bcb0e00702b17adc84483c17c590 (diff) |
Android: add -Wno-date-time flag for clang
clang complains about date/time macros:
src/mesa/main/context.c:403:25: error: expansion of date or time macro is not reproducible [-Werror,-Wdate-time]
Disable this warning.
Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'Android.common.mk')
-rw-r--r-- | Android.common.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.common.mk b/Android.common.mk index c4823f7dbf..7ca989c0ab 100644 --- a/Android.common.mk +++ b/Android.common.mk @@ -33,6 +33,7 @@ MESA_VERSION := $(shell cat $(MESA_TOP)/VERSION) # define ANDROID_VERSION (e.g., 4.0.x => 0x0400) LOCAL_CFLAGS += \ -Wno-unused-parameter \ + -Wno-date-time \ -DPACKAGE_VERSION=\"$(MESA_VERSION)\" \ -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\" \ -DANDROID_VERSION=0x0$(MESA_ANDROID_MAJOR_VERSION)0$(MESA_ANDROID_MINOR_VERSION) |