mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
Try this. Darwin -> LTO, PIC -> LTO + possibly gold too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64299 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
752272a5e5
commit
46dec95319
@ -25,10 +25,11 @@ PARALLEL_DIRS := llvm-config \
|
|||||||
|
|
||||||
include $(LEVEL)/Makefile.config
|
include $(LEVEL)/Makefile.config
|
||||||
|
|
||||||
# only build new lto project on Darwin for now
|
# build lto project on Darwin or if PIC is enabled
|
||||||
ifeq ($(OS),Darwin)
|
ifeq ($(OS),Darwin)
|
||||||
PARALLEL_DIRS += lto
|
PARALLEL_DIRS += lto
|
||||||
|
else ($(ENABLE_PIC),1)
|
||||||
|
PARALLEL_DIRS += lto
|
||||||
ifdef BINUTILS_INCDIR
|
ifdef BINUTILS_INCDIR
|
||||||
PARALLEL_DIRS += gold
|
PARALLEL_DIRS += gold
|
||||||
endif
|
endif
|
||||||
|
@ -16,12 +16,8 @@ LIBRARYNAME = LTO
|
|||||||
include $(LEVEL)/Makefile.config
|
include $(LEVEL)/Makefile.config
|
||||||
|
|
||||||
LINK_LIBS_IN_SHARED = 1
|
LINK_LIBS_IN_SHARED = 1
|
||||||
ifeq ($(OS),Darwin)
|
SHARED_LIBRARY = 1
|
||||||
SHARED_LIBRARY = 1
|
DONT_BUILD_RELINKED = 1
|
||||||
DONT_BUILD_RELINKED = 1
|
|
||||||
else
|
|
||||||
BUILD_ARCHIVE = 1
|
|
||||||
endif
|
|
||||||
|
|
||||||
LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader bitwriter
|
LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader bitwriter
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user