mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Fix PR3743 - -mmacosx-version-min inappropriate for Mac OS X 10.4.11,
by stripping off any versions past the "10.4". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66392 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f48ba7b74c
commit
086c788b39
@ -467,6 +467,9 @@ endif
|
||||
|
||||
ifeq ($(OS),Darwin)
|
||||
DARWIN_VERSION := `sw_vers -productVersion`
|
||||
# Strip a number like 10.4.7 to 10.4
|
||||
DARWIN_VERSION := $(shell echo $(DARWIN_VERSION)| sed -E 's/(10.[0-9]).*/\1/')
|
||||
|
||||
SharedLinkOptions=-Wl,-flat_namespace -Wl,-undefined -Wl,suppress -bundle \
|
||||
-mmacosx-version-min=$(DARWIN_VERSION)
|
||||
CompileCommonOpts += -mmacosx-version-min=$(DARWIN_VERSION)
|
||||
|
Loading…
Reference in New Issue
Block a user