summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/bugpoint/Android.mk1
-rw-r--r--tools/opt/Android.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/bugpoint/Android.mk b/tools/bugpoint/Android.mk
index 512a91f..752972a 100644
--- a/tools/bugpoint/Android.mk
+++ b/tools/bugpoint/Android.mk
@@ -52,6 +52,7 @@ LOCAL_SRC_FILES := $(bugpoint_SRC_FILES)
LOCAL_STATIC_LIBRARIES := $(bugpoint_STATIC_LIBRARIES)
LOCAL_LDLIBS += -lpthread -lm -ldl
+LOCAL_LDFLAGS += -Wl,--export-dynamic
include $(LLVM_ROOT_PATH)/llvm.mk
include $(LLVM_HOST_BUILD_MK)
diff --git a/tools/opt/Android.mk b/tools/opt/Android.mk
index 814fabc..3c6a494 100644
--- a/tools/opt/Android.mk
+++ b/tools/opt/Android.mk
@@ -49,7 +49,6 @@ llvm_opt_STATIC_LIBRARIES := \
libLLVMTransformObjCARC \
libLLVMVectorize \
libLLVMScalarOpts \
- libLLVMTransformUtils \
libLLVMPasses \
libLLVMAnalysis \
libLLVMipo \
@@ -77,6 +76,7 @@ LOCAL_IS_HOST_MODULE := true
LOCAL_SRC_FILES := $(llvm_opt_SRC_FILES)
LOCAL_STATIC_LIBRARIES := $(llvm_opt_STATIC_LIBRARIES)
LOCAL_LDLIBS += -lpthread -lm -ldl
+LOCAL_LDFLAGS += -Wl,--export-dynamic
include $(LLVM_ROOT_PATH)/llvm.mk
include $(LLVM_HOST_BUILD_MK)