summaryrefslogtreecommitdiffstats
path: root/tools/llc/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llc/Android.mk')
-rw-r--r--tools/llc/Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/llc/Android.mk b/tools/llc/Android.mk
index 0d44444..2167fe3 100644
--- a/tools/llc/Android.mk
+++ b/tools/llc/Android.mk
@@ -106,6 +106,7 @@ ifeq (,$(filter $(TARGET_ARCH),$(LLVM_SUPPORTED_ARCH)))
$(warning TODO $(TARGET_ARCH): Enable llc build)
endif
+ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS))
include $(CLEAR_VARS)
LOCAL_MODULE := llc
@@ -126,9 +127,10 @@ LOCAL_STATIC_LIBRARIES += $(llvm_llc_STATIC_LIBRARIES)
LOCAL_SHARED_LIBRARIES := \
libcutils \
libdl \
- libstlport
+ libc++
include $(LLVM_ROOT_PATH)/llvm.mk
include $(LLVM_DEVICE_BUILD_MK)
include $(LLVM_GEN_INTRINSICS_MK)
include $(BUILD_EXECUTABLE)
+endif