From 9bef9660fdc3b9dbc8c4cb440a196435d61cabda Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Mon, 2 Nov 2015 15:41:59 -0800 Subject: [PATCH] Turn off -Wdate-time for crasher This is an optional diagnostic tool where it's useful to know if you are running the version that you just built. Allow the use of __TIME__ without a warning or error. Bug: 24204119 Change-Id: I78063c2694b80ccaf5891d1cd649ea17eda978cb --- debuggerd/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debuggerd/Android.mk b/debuggerd/Android.mk index de0f94334..9e4f1f7d2 100644 --- a/debuggerd/Android.mk +++ b/debuggerd/Android.mk @@ -62,7 +62,7 @@ LOCAL_SRC_FILES_x86 := x86/crashglue.S LOCAL_SRC_FILES_x86_64 := x86_64/crashglue.S LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) LOCAL_MODULE_TAGS := optional -LOCAL_CFLAGS += -fstack-protector-all -Werror -Wno-free-nonheap-object +LOCAL_CFLAGS += -fstack-protector-all -Werror -Wno-free-nonheap-object -Wno-date-time #LOCAL_FORCE_STATIC_EXECUTABLE := true LOCAL_SHARED_LIBRARIES := libcutils liblog libc