mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Use -object_path_lto when linking executables if building Apple style.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165282 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5b0f1b3763
commit
0a0311759b
@ -644,6 +644,10 @@ else
|
|||||||
ifneq ($(DARWIN_MAJVERS),4)
|
ifneq ($(DARWIN_MAJVERS),4)
|
||||||
LD.Flags += $(RPATH) -Wl,@executable_path/../lib
|
LD.Flags += $(RPATH) -Wl,@executable_path/../lib
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(RC_BUILDIT),YES)
|
||||||
|
TempFile := $(shell mktemp ${OBJROOT}/llvm-lto.XXXXXX)
|
||||||
|
LD.Flags += -Wl,-object_path_lto -Wl,$(TempFile)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user