mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
OSX client, Makefile.darwin: require 10.6 for amd64 builds,
not 10.5 (SDL's requirement). needed adding bundle1.o to linkage for dyld_stub_binding_helper. git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@716 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
30b7d757ca
commit
59c282abac
1 changed files with 6 additions and 4 deletions
|
@ -48,14 +48,16 @@ LDFLAGS =
|
|||
DFLAGS ?=
|
||||
CFLAGS ?= -Wall
|
||||
# require 10.5 for 64 bit builds
|
||||
ifeq ($(MACH_TYPE),x86_64)
|
||||
CFLAGS +=-mmacosx-version-min=10.5
|
||||
LDFLAGS +=-mmacosx-version-min=10.5
|
||||
endif
|
||||
ifeq ($(MACH_TYPE),ppc64)
|
||||
CFLAGS +=-mmacosx-version-min=10.5
|
||||
LDFLAGS +=-mmacosx-version-min=10.5
|
||||
endif
|
||||
ifeq ($(MACH_TYPE),x86_64)
|
||||
# require 10.6 for amd64 builds, not 10.5 (SDL's requirement.)
|
||||
# bundle1.o is needed for dyld_stub_binding_helper
|
||||
CFLAGS +=-mmacosx-version-min=10.6
|
||||
LDFLAGS +=-mmacosx-version-min=10.6 -Wl,-lbundle1.o
|
||||
endif
|
||||
CFLAGS += $(CPUFLAGS)
|
||||
|
||||
ifneq ($(DEBUG),0)
|
||||
|
|
Loading…
Reference in a new issue