mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-26 09:18:56 +00:00
build: Don't pass -avoid-version or -no-undefined on Darwin, they don't do
anything. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109957 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -36,7 +36,6 @@ include $(LEVEL)/Makefile.common
|
|||||||
ifeq ($(HOST_OS),Darwin)
|
ifeq ($(HOST_OS),Darwin)
|
||||||
# extra options to override libtool defaults
|
# extra options to override libtool defaults
|
||||||
LLVMLibsOptions := $(LLVMLibsOptions) \
|
LLVMLibsOptions := $(LLVMLibsOptions) \
|
||||||
-avoid-version \
|
|
||||||
-Wl,-dead_strip
|
-Wl,-dead_strip
|
||||||
|
|
||||||
ifdef EDIS_VERSION
|
ifdef EDIS_VERSION
|
||||||
@@ -48,7 +47,7 @@ ifeq ($(HOST_OS),Darwin)
|
|||||||
DARWIN_VERS := $(shell echo $(TARGET_TRIPLE) | sed 's/.*darwin\([0-9]*\).*/\1/')
|
DARWIN_VERS := $(shell echo $(TARGET_TRIPLE) | sed 's/.*darwin\([0-9]*\).*/\1/')
|
||||||
ifneq ($(DARWIN_VERS),8)
|
ifneq ($(DARWIN_VERS),8)
|
||||||
LLVMLibsOptions := $(LLVMLibsOptions) \
|
LLVMLibsOptions := $(LLVMLibsOptions) \
|
||||||
-no-undefined -Wl,-install_name \
|
-Wl,-install_name \
|
||||||
-Wl,"@rpath/lib$(LIBRARYNAME)$(SHLIBEXT)"
|
-Wl,"@rpath/lib$(LIBRARYNAME)$(SHLIBEXT)"
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
@@ -38,7 +38,6 @@ ifeq ($(HOST_OS),Darwin)
|
|||||||
LLVMLibsOptions := $(LLVMLibsOptions) -all_load
|
LLVMLibsOptions := $(LLVMLibsOptions) -all_load
|
||||||
# extra options to override libtool defaults
|
# extra options to override libtool defaults
|
||||||
LLVMLibsOptions := $(LLVMLibsOptions) \
|
LLVMLibsOptions := $(LLVMLibsOptions) \
|
||||||
-avoid-version \
|
|
||||||
-Wl,-dead_strip \
|
-Wl,-dead_strip \
|
||||||
-Wl,-seg1addr -Wl,0xE0000000
|
-Wl,-seg1addr -Wl,0xE0000000
|
||||||
|
|
||||||
|
@@ -41,7 +41,6 @@ ifeq ($(HOST_OS),Darwin)
|
|||||||
endif
|
endif
|
||||||
# extra options to override libtool defaults
|
# extra options to override libtool defaults
|
||||||
LLVMLibsOptions := $(LLVMLibsOptions) \
|
LLVMLibsOptions := $(LLVMLibsOptions) \
|
||||||
-avoid-version \
|
|
||||||
-Wl,-dead_strip \
|
-Wl,-dead_strip \
|
||||||
-Wl,-seg1addr -Wl,0xE0000000
|
-Wl,-seg1addr -Wl,0xE0000000
|
||||||
|
|
||||||
@@ -49,7 +48,7 @@ ifeq ($(HOST_OS),Darwin)
|
|||||||
DARWIN_VERS := $(shell echo $(TARGET_TRIPLE) | sed 's/.*darwin\([0-9]*\).*/\1/')
|
DARWIN_VERS := $(shell echo $(TARGET_TRIPLE) | sed 's/.*darwin\([0-9]*\).*/\1/')
|
||||||
ifneq ($(DARWIN_VERS),8)
|
ifneq ($(DARWIN_VERS),8)
|
||||||
LLVMLibsOptions := $(LLVMLibsOptions) \
|
LLVMLibsOptions := $(LLVMLibsOptions) \
|
||||||
-no-undefined -Wl,-install_name \
|
-Wl,-install_name \
|
||||||
-Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
|
-Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user