From 5ffa5f47db2992606e451225d0d8be4e262a52c8 Mon Sep 17 00:00:00 2001 From: thilo Date: Mon, 31 Dec 2007 16:11:29 +0000 Subject: Fix build process on 10.5 and 10.4 sdks for tjw's modifications git-svn-id: svn://svn.icculus.org/quake3/trunk@1244 edf5b092-35ff-0310-97b2-ce42778d08ea --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0cf7a44..870fac6 100644 --- a/Makefile +++ b/Makefile @@ -289,12 +289,12 @@ ifeq ($(PLATFORM),darwin) ifeq ($(BUILD_MACOSX_UB),ppc) CC=gcc-4.0 - BASE_CFLAGS += -arch ppc -DSMP \ + BASE_CFLAGS += -arch ppc -mmacosx-version-min=10.4 -DSMP \ -DMAC_OS_X_VERSION_MIN_REQUIRED=1020 -nostdinc \ -F"$(MACOSX_SDK_DIR)"/System/Library/Frameworks \ -I"$(MACOSX_SDK_DIR)"/"$(MACOSX_SDK_INC)" \ -isystem "$(MACOSX_SDK_DIR)"/usr/include - LDFLAGS += -arch ppc \ + LDFLAGS += -arch ppc -mmacosx-version-min=10.4 \ -L"$(MACOSX_SDK_DIR)"/"$(MACOSX_SDK_LIB)" \ -F"$(MACOSX_SDK_DIR)"/System/Library/Frameworks \ -Wl,-syslibroot,"$(MACOSX_SDK_DIR)" @@ -309,7 +309,7 @@ ifeq ($(PLATFORM),darwin) -F"$(MACOSX_SDK_DIR)"/System/Library/Frameworks \ -I"$(MACOSX_SDK_DIR)"/"$(MACOSX_SDK_INC)" \ -isystem "$(MACOSX_SDK_DIR)"/usr/include - LDFLAGS = -arch i386 -mmacosx-version-min=10.4 \ + LDFLAGS += -arch i386 -mmacosx-version-min=10.4 \ -L"$(MACOSX_SDK_DIR)"/"$(MACOSX_SDK_LIB)" \ -F"$(MACOSX_SDK_DIR)"/System/Library/Frameworks \ -Wl,-syslibroot,"$(MACOSX_SDK_DIR)" -- cgit v1.2.3