mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Fix this condition; it has an else clause attached for Darwin only. Patch
by Takumi Nakamura. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110016 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
27a9939903
commit
e28015c02c
@ -618,7 +618,8 @@ ifndef KEEP_SYMBOLS
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# Adjust linker flags for building an executable
|
# Adjust linker flags for building an executable
|
||||||
ifneq ($(HOST_OS), $(filter $(HOST_OS), Darwin Cygwin MingW))
|
ifneq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
|
||||||
|
ifneq ($(HOST_OS), Darwin)
|
||||||
ifdef TOOLNAME
|
ifdef TOOLNAME
|
||||||
LD.Flags += $(RPATH) -Wl,'$$ORIGIN/../lib'
|
LD.Flags += $(RPATH) -Wl,'$$ORIGIN/../lib'
|
||||||
ifdef EXAMPLE_TOOL
|
ifdef EXAMPLE_TOOL
|
||||||
@ -632,6 +633,7 @@ ifneq ($(DARWIN_MAJVERS),4)
|
|||||||
LD.Flags += $(RPATH) -Wl,@executable_path/../lib
|
LD.Flags += $(RPATH) -Wl,@executable_path/../lib
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
#----------------------------------------------------------
|
#----------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user