1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-11 19:49:14 +00:00

Improve compatibility with older versions of Mac OS X

Use the -mmacosx-version-min flag to support older versions of Mac OS X
(like version 10.6 and 10.7) when compiled on a machine running version
10.8.
This commit is contained in:
Daylen Yang 2012-10-06 17:56:12 -07:00
parent 954fc950d9
commit 7e2d49368d

View file

@ -231,7 +231,7 @@ ifeq ($(comp),clang)
endif
ifeq ($(os),osx)
CXXFLAGS += -arch $(arch)
CXXFLAGS += -arch $(arch) -mmacosx-version-min=10.6
endif
### 3.3 General linker settings
@ -246,7 +246,7 @@ ifneq ($(comp),mingw)
endif
ifeq ($(os),osx)
LDFLAGS += -arch $(arch)
LDFLAGS += -arch $(arch) -mmacosx-version-min=10.6
endif
### 3.4 Debugging