on MacOS, compile in Universal format by default

This commit is contained in:
Nguyen Anh Quynh 2016-12-19 22:07:38 +08:00
parent 87d7c1be4b
commit c42e118832
2 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,9 @@ UNICORN_CFLAGS += -fPIC
# Verbose output?
V ?= 0
# on MacOS, compile in Universal format by default
MACOS_UNIVERSAL ?= yes
ifeq ($(UNICORN_DEBUG),yes)
CFLAGS += -g
else

View File

@ -102,6 +102,7 @@ case "$1" in
"install" ) install;;
"uninstall" ) uninstall;;
"macos-universal" ) MACOS_UNIVERSAL=yes ${MAKE};;
"macos-universal-no" ) MACOS_UNIVERSAL=no ${MAKE};;
"cross-win32" ) build_cross i686-w64-mingw32;;
"cross-win64" ) build_cross x86_64-w64-mingw32;;
"cross-android" ) CROSS=arm-linux-androideabi ${MAKE};;