This commit is contained in:
twinaphex 2020-12-25 02:59:37 +01:00
parent 46abaa34c4
commit a7f0894e90

View File

@ -131,7 +131,11 @@ ifeq ($(arch),ppc)
endif
OSXVER = `sw_vers -productVersion | cut -d. -f 2`
OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"`
ifeq ($(OSX_LT_MAVERICKS),"YES")
fpic += -mmacosx-version-min=10.1
else
fpic += -stdlib=libc++
endif
# iOS
else ifneq (,$(findstring ios,$(platform)))