Mix MacOS x86 builds too

This commit is contained in:
David Guillen Fandos 2023-08-27 13:40:36 +02:00
parent 9d46b84dee
commit 188887e6c8
1 changed files with 5 additions and 3 deletions

View File

@ -100,7 +100,9 @@ else ifeq ($(platform), osx)
endif endif
OSXVER = `sw_vers -productVersion | cut -d. -f 2` OSXVER = `sw_vers -productVersion | cut -d. -f 2`
OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"` OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"`
ifeq ($(OSX_LT_MAVERICKS),YES)
fpic += -mmacosx-version-min=10.1 fpic += -mmacosx-version-min=10.1
endif
SHARED := -dynamiclib SHARED := -dynamiclib
ifeq ($(HAVE_DYNAREC),1) ifeq ($(HAVE_DYNAREC),1)
MMAP_JIT_CACHE = 1 MMAP_JIT_CACHE = 1