From 59c282abace9e8f61878debbc1b4e5523a712773 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sun, 9 Sep 2012 07:41:43 +0000 Subject: [PATCH] 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 --- Quake/Makefile.darwin | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Quake/Makefile.darwin b/Quake/Makefile.darwin index ae3ab31e..c71d10c0 100644 --- a/Quake/Makefile.darwin +++ b/Quake/Makefile.darwin @@ -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)