mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
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
This commit is contained in:
parent
5768ff4850
commit
5285270871
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -18,7 +18,7 @@ USEDLIBS = mapping \
|
||||
bcwriter \
|
||||
vmcore \
|
||||
support
|
||||
TOOLLINKOPTS = -ldl
|
||||
TOOLLINKOPTS = $(PLATFORMLIBDL)
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user