mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Fix build on MacOS 10.4 systems (suggested by Mike Smith).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67855 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1a36744b07
commit
a6b37c09d3
@ -436,8 +436,8 @@ ifeq ($(OS),Darwin)
|
|||||||
# Get "4" out of 10.4 for later pieces in the makefile.
|
# 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/')
|
DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E 's/10.([0-9]).*/\1/')
|
||||||
|
|
||||||
SharedLinkOptions=-Wl,-flat_namespace -Wl,-undefined -Wl,suppress -Wl,-dylib \
|
SharedLinkOptions=-Wl,-flat_namespace -Wl,-undefined -Wl,suppress \
|
||||||
-mmacosx-version-min=$(DARWIN_VERSION)
|
-dynamiclib -mmacosx-version-min=$(DARWIN_VERSION)
|
||||||
TargetCommonOpts += -mmacosx-version-min=$(DARWIN_VERSION)
|
TargetCommonOpts += -mmacosx-version-min=$(DARWIN_VERSION)
|
||||||
else
|
else
|
||||||
ifeq ($(OS),Cygwin)
|
ifeq ($(OS),Cygwin)
|
||||||
|
Loading…
Reference in New Issue
Block a user