From 9aa69a675233fe4fc1dc40d2065b8659f639f838 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh <chh@google.com> Date: Thu, 4 Sep 2014 17:15:47 -0700 Subject: Add LOCAL_CLANG_*FLAGS for clang only flags. To be used only for some modules. Change-Id: I107ec37f11f738f860598f0c86c4ad7ec20c9011 --- core/binary.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/binary.mk') diff --git a/core/binary.mk b/core/binary.mk index 4162a12..60cd4c6 100644 --- a/core/binary.mk +++ b/core/binary.mk @@ -927,6 +927,10 @@ endif ########################################################### ifeq ($(my_clang),true) +my_cflags += $(LOCAL_CLANG_CFLAGS) +my_cpplags += $(LOCAL_CLANG_CPPFLAGS) +my_asflags += $(LOCAL_CLANG_ASFLAGS) +my_ldflags += $(LOCAL_CLANG_LDFLAGS) my_cflags := $(call $(LOCAL_2ND_ARCH_VAR_PREFIX)convert-to-$(my_host)clang-flags,$(my_cflags)) my_cppflags := $(call $(LOCAL_2ND_ARCH_VAR_PREFIX)convert-to-$(my_host)clang-flags,$(my_cppflags)) my_asflags := $(call $(LOCAL_2ND_ARCH_VAR_PREFIX)convert-to-$(my_host)clang-flags,$(my_asflags)) -- cgit v1.1