mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-24 14:33:40 +00:00
Do not specify -mmacosx-version-min if building for arm-apple-darwin.
llvm-svn: 81240
This commit is contained in:
parent
5caba6ecdc
commit
3a839afc42
@ -514,7 +514,10 @@ ifeq ($(HOST_OS),Darwin)
|
||||
DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E 's/10.([0-9]).*/\1/')
|
||||
|
||||
SharedLinkOptions=-Wl,-flat_namespace -Wl,-undefined -Wl,suppress \
|
||||
-dynamiclib -mmacosx-version-min=$(DARWIN_VERSION)
|
||||
-dynamiclib
|
||||
ifneq ($(ARCH),ARM)
|
||||
SharedLinkOptions += -mmacosx-version-min=$(DARWIN_VERSION)
|
||||
endif
|
||||
else
|
||||
ifeq ($(HOST_OS),Cygwin)
|
||||
SharedLinkOptions=-shared -nostdlib -Wl,--export-all-symbols \
|
||||
@ -525,8 +528,10 @@ else
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_OS),Darwin)
|
||||
ifneq ($(ARCH),ARM)
|
||||
TargetCommonOpts += -mmacosx-version-min=$(DARWIN_VERSION)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Adjust LD.Flags depending on the kind of library that is to be built. Note
|
||||
# that if LOADABLE_MODULE is specified then the resulting shared library can
|
||||
|
Loading…
x
Reference in New Issue
Block a user