aboutsummaryrefslogtreecommitdiffstats
path: root/tools/opt/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'tools/opt/Android.mk')
-rw-r--r--tools/opt/Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/opt/Android.mk b/tools/opt/Android.mk
index 77183aa..9ba9584 100644
--- a/tools/opt/Android.mk
+++ b/tools/opt/Android.mk
@@ -58,6 +58,7 @@ include $(BUILD_HOST_EXECUTABLE)
# opt command line tool (target)
#===---------------------------------------------------------------===
+ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS))
include $(CLEAR_VARS)
LOCAL_MODULE := opt
@@ -70,10 +71,11 @@ LOCAL_STATIC_LIBRARIES := $(llvm_opt_STATIC_LIBRARIES)
LOCAL_SHARED_LIBRARIES := \
libcutils \
libdl \
- libstlport
+ libcxx
include $(LLVM_ROOT_PATH)/llvm.mk
include $(LLVM_DEVICE_BUILD_MK)
include $(LLVM_GEN_INTRINSICS_MK)
include $(BUILD_EXECUTABLE)
+endif