summaryrefslogtreecommitdiffstats
path: root/tools/bugpoint-passes/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bugpoint-passes/Android.mk')
-rw-r--r--tools/bugpoint-passes/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/bugpoint-passes/Android.mk b/tools/bugpoint-passes/Android.mk
index 51b35c7..bd09c69 100644
--- a/tools/bugpoint-passes/Android.mk
+++ b/tools/bugpoint-passes/Android.mk
@@ -15,6 +15,9 @@ LOCAL_MODULE := BugpointPasses
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES # needed for tblgen
+ifeq ($(HOST_OS),darwin)
+LOCAL_LDFLAGS := -Wl,-undefined -Wl,dynamic_lookup
+endif
include $(LLVM_HOST_BUILD_MK)
include $(LLVM_GEN_INTRINSICS_MK)