summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/analyze/Makefile2
-rw-r--r--tools/llc/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/analyze/Makefile b/tools/analyze/Makefile
index 57152ac5cdb..9add20b9a0d 100644
--- a/tools/analyze/Makefile
+++ b/tools/analyze/Makefile
@@ -2,7 +2,7 @@ LEVEL = ../..
TOOLNAME = analyze
USEDLIBS = asmparser bcreader scalaropts.a transforms.a analysis ipa \
datastructure target.a transformutils.a vmcore support
-TOOLLINKOPTS = -ldl
+TOOLLINKOPTS = -ldl $(ExportSymbols)
include $(LEVEL)/Makefile.common
diff --git a/tools/llc/Makefile b/tools/llc/Makefile
index c8a3042f42d..9bf2f24ffa1 100644
--- a/tools/llc/Makefile
+++ b/tools/llc/Makefile
@@ -3,7 +3,7 @@ TOOLNAME = llc
USEDLIBS = mapping sparc target.a regalloc sched select preselect target.a \
instrument livevar bcreader bcwriter ipo ipa.a datastructure.a \
scalaropts transforms analysis transformutils vmcore support
-TOOLLINKOPTS = -ldl
+TOOLLINKOPTS = -ldl $(ExportSymbols)
include $(LEVEL)/Makefile.common