mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-30 06:40:53 +00:00
Fix build on MacOS 10.4 systems (suggested by Mike Smith).
llvm-svn: 67855
This commit is contained in:
parent
66fc2f0a88
commit
eaa08f7d93
@ -436,8 +436,8 @@ ifeq ($(OS),Darwin)
|
||||
# Get "4" out of 10.4 for later pieces in the makefile.
|
||||
DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E 's/10.([0-9]).*/\1/')
|
||||
|
||||
SharedLinkOptions=-Wl,-flat_namespace -Wl,-undefined -Wl,suppress -Wl,-dylib \
|
||||
-mmacosx-version-min=$(DARWIN_VERSION)
|
||||
SharedLinkOptions=-Wl,-flat_namespace -Wl,-undefined -Wl,suppress \
|
||||
-dynamiclib -mmacosx-version-min=$(DARWIN_VERSION)
|
||||
TargetCommonOpts += -mmacosx-version-min=$(DARWIN_VERSION)
|
||||
else
|
||||
ifeq ($(OS),Cygwin)
|
||||
|
Loading…
Reference in New Issue
Block a user