mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-17 21:29:02 +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:
@@ -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
|
# Have gcc tell the linker to export symbols from the program so that
|
||||||
# dynamically loaded modules can be linked against them.
|
# dynamically loaded modules can be linked against them.
|
||||||
#
|
#
|
||||||
TOOLLINKOPTS = -ldl
|
TOOLLINKOPTS = $(PLATFORMLIBDL)
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
@@ -2,7 +2,7 @@ LEVEL = ../..
|
|||||||
TOOLNAME = analyze
|
TOOLNAME = analyze
|
||||||
USEDLIBS = asmparser bcreader scalaropts.a transforms.a analysis ipa \
|
USEDLIBS = asmparser bcreader scalaropts.a transforms.a analysis ipa \
|
||||||
datastructure target.a transformutils.a scalaropts.a vmcore support
|
datastructure target.a transformutils.a scalaropts.a vmcore support
|
||||||
TOOLLINKOPTS = -ldl
|
TOOLLINKOPTS = $(PLATFORMLIBDL)
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
||||||
|
@@ -8,6 +8,6 @@ ANALIBS = datastructure ipa target.a
|
|||||||
USEDLIBS = ipo scalaropts analysis $(OPTLIBS) $(ANALIBS) \
|
USEDLIBS = ipo scalaropts analysis $(OPTLIBS) $(ANALIBS) \
|
||||||
transformutils asmparser bcreader bcwriter vmcore support
|
transformutils asmparser bcreader bcwriter vmcore support
|
||||||
|
|
||||||
TOOLLINKOPTS = -ldl
|
TOOLLINKOPTS = $(PLATFORMLIBDL)
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
@@ -18,7 +18,7 @@ USEDLIBS = mapping \
|
|||||||
bcwriter \
|
bcwriter \
|
||||||
vmcore \
|
vmcore \
|
||||||
support
|
support
|
||||||
TOOLLINKOPTS = -ldl
|
TOOLLINKOPTS = $(PLATFORMLIBDL)
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
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
|
# Have gcc tell the linker to export symbols from the program so that
|
||||||
# dynamically loaded modules can be linked against them.
|
# dynamically loaded modules can be linked against them.
|
||||||
#
|
#
|
||||||
TOOLLINKOPTS = -ldl
|
TOOLLINKOPTS = $(PLATFORMLIBDL)
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
@@ -6,6 +6,6 @@ USEDLIBS = bcreader bcwriter \
|
|||||||
ipo ipa.a datastructure transforms target.a analysis \
|
ipo ipa.a datastructure transforms target.a analysis \
|
||||||
transformutils vmcore support
|
transformutils vmcore support
|
||||||
|
|
||||||
TOOLLINKOPTS = -ldl
|
TOOLLINKOPTS = $(PLATFORMLIBDL)
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
Reference in New Issue
Block a user