Fix CFLAGS. (Should use libbcc_CFLAGS instead)
Change-Id: I683c54e2edf2ebf0a2e442e486891009a1ac2478
diff --git a/lib/ExecutionEngine/Android.mk b/lib/ExecutionEngine/Android.mk
index 7ef45dd..2acb7f1 100644
--- a/lib/ExecutionEngine/Android.mk
+++ b/lib/ExecutionEngine/Android.mk
@@ -53,8 +53,10 @@
LOCAL_MODULE := libbccExecutionEngine
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
-LOCAL_CFLAGS += $(local_cflags_for_libbcc)
+
+LOCAL_CFLAGS += $(libbcc_CFLAGS)
LOCAL_CFLAGS += -DTARGET_BUILD
+
LOCAL_C_INCLUDES := $(libbcc_C_INCLUDES)
LOCAL_SRC_FILES := $(libbcc_executionengine_SRC_FILES)
@@ -71,8 +73,10 @@
LOCAL_MODULE := libbccExecutionEngine
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
-LOCAL_CFLAGS += $(local_cflags_for_libbcc)
+
+LOCAL_CFLAGS += $(libbcc_CFLAGS)
LOCAL_C_INCLUDES := $(libbcc_C_INCLUDES)
+
LOCAL_SRC_FILES := $(libbcc_executionengine_SRC_FILES)
include $(LLVM_ROOT_PATH)/llvm-host-build.mk