From 1115c25d5ebfe0cae38dccfd8b9d9bdb3bc2ae6b Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 10 Jun 2015 22:43:51 -0700 Subject: [PATCH] Make it clearer to grep that init is built with clang. Change-Id: Ic2abffd27e382cb691d772cdf088442645e59bf7 --- init/Android.mk | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/init/Android.mk b/init/Android.mk index b14f9b593..45b002de5 100644 --- a/init/Android.mk +++ b/init/Android.mk @@ -18,8 +18,6 @@ init_cflags += \ -Wno-unused-parameter \ -Werror \ -init_clang := true - # -- include $(CLEAR_VARS) @@ -32,7 +30,7 @@ LOCAL_SRC_FILES:= \ LOCAL_STATIC_LIBRARIES := libbase LOCAL_MODULE := libinit -LOCAL_CLANG := $(init_clang) +LOCAL_CLANG := true include $(BUILD_STATIC_LIBRARY) include $(CLEAR_VARS) @@ -79,7 +77,7 @@ LOCAL_POST_INSTALL_CMD := $(hide) mkdir -p $(TARGET_ROOT_OUT)/sbin; \ ln -sf ../init $(TARGET_ROOT_OUT)/sbin/ueventd; \ ln -sf ../init $(TARGET_ROOT_OUT)/sbin/watchdogd -LOCAL_CLANG := $(init_clang) +LOCAL_CLANG := true include $(BUILD_EXECUTABLE) @@ -96,5 +94,5 @@ LOCAL_SHARED_LIBRARIES += \ libbase \ LOCAL_STATIC_LIBRARIES := libinit -LOCAL_CLANG := $(init_clang) +LOCAL_CLANG := true include $(BUILD_NATIVE_TEST)