diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-06-17 20:09:18 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-06-17 20:09:18 +0000 |
commit | 52852708714c59baf1b0426bffe5d1546af61d46 (patch) | |
tree | 525067da8952a89e709eef7266b1b11604420eff /tools | |
parent | 5768ff48507f990a18385464a78fe36f1d972b86 (diff) | |
download | external_llvm-52852708714c59baf1b0426bffe5d1546af61d46.zip external_llvm-52852708714c59baf1b0426bffe5d1546af61d46.tar.gz external_llvm-52852708714c59baf1b0426bffe5d1546af61d46.tar.bz2 |
Use $(PLATFORMLIBDL) to selectively bring in -ldl only on those platforms where
it is needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6753 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/analyze/Makefile | 2 | ||||
-rw-r--r-- | tools/bugpoint/Makefile | 2 | ||||
-rw-r--r-- | tools/llc/Makefile | 2 | ||||
-rw-r--r-- | tools/lli/Makefile | 2 | ||||
-rw-r--r-- | tools/opt/Makefile | 2 |
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 |