mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-09 01:01:07 +00:00
add arm64 target to Makefile.darwin
SDL2 and music codec builds for arm64 should come later.
This commit is contained in:
parent
1716bc120b
commit
57748db955
1 changed files with 5 additions and 0 deletions
|
@ -79,6 +79,11 @@ CFLAGS +=-mmacosx-version-min=10.6
|
|||
LDFLAGS +=-mmacosx-version-min=10.6 -Wl,-lbundle1.o
|
||||
USE_RPATH=1
|
||||
endif
|
||||
ifeq ($(MACH_TYPE),arm64)
|
||||
CFLAGS +=-mmacosx-version-min=11.0
|
||||
LDFLAGS +=-mmacosx-version-min=11.0
|
||||
USE_RPATH=1
|
||||
endif
|
||||
CFLAGS += $(CPUFLAGS)
|
||||
ifeq ($(USE_RPATH),1)
|
||||
LDFLAGS+=-Wl,-rpath,@executable_path/../Frameworks
|
||||
|
|
Loading…
Reference in a new issue