on MacOS, compile in Universal format by default
This commit is contained in:
parent
87d7c1be4b
commit
c42e118832
3
Makefile
3
Makefile
|
@ -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
|
||||
|
|
1
make.sh
1
make.sh
|
@ -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};;
|
||||
|
|
Loading…
Reference in New Issue