mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Set the deployment target for Apple llvmCore builds. <rdar://problem/12712431>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174397 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -501,16 +501,24 @@ ifeq ($(HOST_OS),Darwin)
|
||||
|
||||
LoadableModuleOptions := -Wl,-flat_namespace -Wl,-undefined,suppress
|
||||
SharedLinkOptions := -dynamiclib
|
||||
ifneq ($(ARCH),ARM)
|
||||
SharedLinkOptions += -mmacosx-version-min=$(DARWIN_VERSION)
|
||||
ifdef DEPLOYMENT_TARGET
|
||||
SharedLinkOptions += $(DEPLOYMENT_TARGET)
|
||||
else
|
||||
ifneq ($(ARCH),ARM)
|
||||
SharedLinkOptions += -mmacosx-version-min=$(DARWIN_VERSION)
|
||||
endif
|
||||
endif
|
||||
else
|
||||
SharedLinkOptions=-shared
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_OS),Darwin)
|
||||
ifneq ($(ARCH),ARM)
|
||||
TargetCommonOpts += -mmacosx-version-min=$(DARWIN_VERSION)
|
||||
ifdef DEPLOYMENT_TARGET
|
||||
TargetCommonOpts += $(DEPLOYMENT_TARGET)
|
||||
else
|
||||
ifneq ($(ARCH),ARM)
|
||||
TargetCommonOpts += -mmacosx-version-min=$(DARWIN_VERSION)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user