Specify minimum OSX version 10.6 instead of 10.5

OSX 10.14.3 can not build for 10.5 and stalls the build. Specifying
10.6 as minimum solves the issue (#49). For building with OSX on i386
architectures, minimum OSX version remains unchanged (10.4).
This commit is contained in:
katjav 2019-03-20 13:53:59 +01:00
parent ece8e6b8b7
commit 1137cca2fa

View file

@ -578,7 +578,7 @@ ifeq ($(system), Darwin)
endif endif
ifeq ($(target.arch), x86_64) ifeq ($(target.arch), x86_64)
arch := i386 x86_64 arch := i386 x86_64
version.flag = -mmacosx-version-min=10.5 version.flag = -mmacosx-version-min=10.6
endif endif
ifneq ($(filter -mmacosx-version-min=%, $(cflags)),) ifneq ($(filter -mmacosx-version-min=%, $(cflags)),)
version.flag := $(filter -mmacosx-version-min=%, $(cflags)) version.flag := $(filter -mmacosx-version-min=%, $(cflags))