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)