diff --git a/core/binary.mk b/core/binary.mk index 3893d03539..d55f8144d5 100644 --- a/core/binary.mk +++ b/core/binary.mk @@ -114,7 +114,7 @@ endif #################################################### ## Add FDO flags if FDO is turned on and supported #################################################### -ifeq ($(strip $(LOCAL_NO_FDO_SUPPORT)),) +ifneq ($(strip $(LOCAL_FDO_SUPPORT)),) ifeq ($(strip $(LOCAL_IS_HOST_MODULE)),) LOCAL_CFLAGS += $(TARGET_FDO_CFLAGS) LOCAL_CPPFLAGS += $(TARGET_FDO_CFLAGS) diff --git a/core/clear_vars.mk b/core/clear_vars.mk index 7ad58b2e9b..092953ddd5 100644 --- a/core/clear_vars.mk +++ b/core/clear_vars.mk @@ -36,7 +36,7 @@ LOCAL_CC:= LOCAL_CXX:= LOCAL_CPP_EXTENSION:= LOCAL_NO_DEFAULT_COMPILER_FLAGS:= -LOCAL_NO_FDO_SUPPORT := +LOCAL_FDO_SUPPORT:= LOCAL_ARM_MODE:= LOCAL_YACCFLAGS:= LOCAL_ASFLAGS:=