aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/analyze/Makefile2
-rw-r--r--tools/bugpoint/Makefile2
-rw-r--r--tools/llc/Makefile2
-rw-r--r--tools/lli/Makefile2
-rw-r--r--tools/opt/Makefile2
5 files changed, 5 insertions, 5 deletions
diff --git a/tools/analyze/Makefile b/tools/analyze/Makefile
index 72115dc..6fd5d94 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 scalaropts.a vmcore support
-TOOLLINKOPTS = -ldl
+TOOLLINKOPTS = $(PLATFORMLIBDL)
include $(LEVEL)/Makefile.common
diff --git a/tools/bugpoint/Makefile b/tools/bugpoint/Makefile
index b79e6c4..2c4a72b 100644
--- a/tools/bugpoint/Makefile
+++ b/tools/bugpoint/Makefile
@@ -8,6 +8,6 @@ ANALIBS = datastructure ipa target.a
USEDLIBS = ipo scalaropts analysis $(OPTLIBS) $(ANALIBS) \
transformutils asmparser bcreader bcwriter vmcore support
-TOOLLINKOPTS = -ldl
+TOOLLINKOPTS = $(PLATFORMLIBDL)
include $(LEVEL)/Makefile.common
diff --git a/tools/llc/Makefile b/tools/llc/Makefile
index aada21c..16156f1 100644
--- a/tools/llc/Makefile
+++ b/tools/llc/Makefile
@@ -18,7 +18,7 @@ USEDLIBS = mapping \
bcwriter \
vmcore \
support
-TOOLLINKOPTS = -ldl
+TOOLLINKOPTS = $(PLATFORMLIBDL)
include $(LEVEL)/Makefile.common
diff --git a/tools/lli/Makefile b/tools/lli/Makefile
index da98f66..6ee2d3f 100644
--- a/tools/lli/Makefile
+++ b/tools/lli/Makefile
@@ -29,6 +29,6 @@ USEDLIBS = lli-interpreter $(JITLIBS) $(ARCHLIBS) scalaropts analysis.a \
# Have gcc tell the linker to export symbols from the program so that
# dynamically loaded modules can be linked against them.
#
-TOOLLINKOPTS = -ldl
+TOOLLINKOPTS = $(PLATFORMLIBDL)
include $(LEVEL)/Makefile.common
diff --git a/tools/opt/Makefile b/tools/opt/Makefile
index bc27e26..ba23dab 100644
--- a/tools/opt/Makefile
+++ b/tools/opt/Makefile
@@ -6,6 +6,6 @@ USEDLIBS = bcreader bcwriter \
ipo ipa.a datastructure transforms target.a analysis \
transformutils vmcore support
-TOOLLINKOPTS = -ldl
+TOOLLINKOPTS = $(PLATFORMLIBDL)
include $(LEVEL)/Makefile.common