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:
parent
954fc950d9
commit
7e2d49368d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue