Explicitly check if LOCAL_FDO_SUPPORT is true (instead of empty).

Change-Id: Icff260c7f866236254091b035782607a31e5a109
This commit is contained in:
Dehao Chen 2014-08-07 16:53:18 -07:00
parent e29069dc0e
commit f7a909db63
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ my_compiler_dependencies :=
####################################################
## Add FDO flags if FDO is turned on and supported
####################################################
ifneq ($(strip $(LOCAL_FDO_SUPPORT)),)
ifeq ($(strip $(LOCAL_FDO_SUPPORT)), true)
ifeq ($(strip $(LOCAL_IS_HOST_MODULE)),)
my_cflags += $($(LOCAL_2ND_ARCH_VAR_PREFIX)TARGET_FDO_CFLAGS)
my_ldflags += $($(LOCAL_2ND_ARCH_VAR_PREFIX)TARGET_FDO_CFLAGS)