From fa5a047a01effcc99b3390804f6c408a73b9ecf8 Mon Sep 17 00:00:00 2001
From: Thomas Grill <xovo@users.sourceforge.net>
Date: Sat, 20 Jan 2007 14:26:02 +0000
Subject: PD: possibility to create DSP objects without main DSP inlet (use
 FLEXT_DSP0_NEW or similar) fixing typo support for multiple archs under OSX
 small fix for ppc arch architecture-specific compiler flags for UB under OSX
 fixed severe Altivec bug changed eol-style corrections to config build
 templates added xcode 2.4 project fixed atom sorting (now also respect symbol
 content) no stripping of local symbols some fixes, mostly OS X updated build
 system for Max with MinGW better default values fixed bug in AtomList copying

svn path=/trunk/; revision=7368
---
 .../grill/flext/buildsys/mac/max/config-gcc.def    | 26 ++++++++++++++++------
 1 file changed, 19 insertions(+), 7 deletions(-)

(limited to 'externals/grill/flext/buildsys/mac/max/config-gcc.def')

diff --git a/externals/grill/flext/buildsys/mac/max/config-gcc.def b/externals/grill/flext/buildsys/mac/max/config-gcc.def
index 66a8b990..5f9a1904 100644
--- a/externals/grill/flext/buildsys/mac/max/config-gcc.def
+++ b/externals/grill/flext/buildsys/mac/max/config-gcc.def
@@ -1,6 +1,6 @@
 # where are the Max/MSP SDK header files?
 # you should have the latest version!
-MAXSDKPATH=/Applications/MaxMSP\ 4.5/MaxMSP-SDK/4.5\ headers/c74support
+MAXSDKPATH=/Applications/MaxMSP\ 4.5/MaxMSP-SDK/c74support
 
 ###############################################################
 
@@ -28,12 +28,24 @@ HELPPATH=/Applications/MaxMSP\ 4.5/max-help/flext
 ###############################################################
 
 # user defined compiler flags
-# (check if they match your system!)
-UFLAGS=-faltivec -ffast-math
+UFLAGS += -ffast-math
 
 # user defined optimization flags
-# (check if they match your system!)
-OFLAGS=-O3
-# optimizations for G4
-OFLAGS+=-mcpu=G4
+OFLAGS += -Os -ftree-vectorize
+
+# user defined debugging flags
+DFLAGS +=
+
+# architecture-specific flags (optional)
+UFLAGS_ppc += -maltivec -faltivec
+OFLAGS_ppc += -mtune=G4
+DFLAGS_ppc +=
+
+UFLAGS_i386 += -mmmx -msse -msse2 -msse3
+OFLAGS_i386 += -mtune=prescott
+DFLAGS_i386 +=
+
+# cross-compilation (optional)
+#ARCH=i386 ppc
+#OSXSDK=/Developer/SDKs/MacOSX10.4u.sdk
 
-- 
cgit v1.2.1

