mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-21 18:29:45 +00:00
Pass -lLTO after gold-plugin.o so that it gets used in systems that default to
--as-needed. Patch by Felix Geyer. Fixes pr13262. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162652 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e3677a66fa
commit
a16c2e3493
@ -24,6 +24,8 @@ include $(LEVEL)/Makefile.config
|
|||||||
# Because off_t is used in the public API, the largefile parts are required for
|
# Because off_t is used in the public API, the largefile parts are required for
|
||||||
# ABI compatibility.
|
# ABI compatibility.
|
||||||
CXXFLAGS += -I$(BINUTILS_INCDIR) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
|
CXXFLAGS += -I$(BINUTILS_INCDIR) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
|
||||||
CXXFLAGS += -L$(SharedLibDir)/$(SharedPrefix) -lLTO
|
LDFLAGS += -L$(SharedLibDir)/$(SharedPrefix)
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
|
||||||
|
LIBS += -lLTO
|
||||||
|
Loading…
Reference in New Issue
Block a user