mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Autodetect architecture in makefile
Can now build a 32bit version. Note that all your dependencies will also need to support 32-bit. Install SDL2, libel, libvorbis, openal-soft in Homebrew using ‘--universal’ flag
This commit is contained in:
parent
e85b6999a7
commit
5eeef2edcc
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -73,7 +73,7 @@ WITH_SYSTEMDIR:=""
|
|||
# You have to make sure your libs/frameworks supports
|
||||
# these architectures! To build an universal ppc-compatible
|
||||
# one would add -arch ppc for example.
|
||||
OSX_ARCH:=-arch x86_64
|
||||
OSX_ARCH:=-arch $(shell uname -m | sed -e s/i.86/i386/)
|
||||
|
||||
# This will set the build options to create an MacOS .app-bundle.
|
||||
# The app-bundle itself will not be created, but the runtime paths
|
||||
|
|
Loading…
Reference in a new issue