diff options
Diffstat (limited to 'externals/grill/flext/buildsys/mac/pd')
-rw-r--r-- | externals/grill/flext/buildsys/mac/pd/config-gcc.def | 26 | ||||
-rw-r--r-- | externals/grill/flext/buildsys/mac/pd/gnumake-gcc-ext.inc | 4 |
2 files changed, 21 insertions, 9 deletions
diff --git a/externals/grill/flext/buildsys/mac/pd/config-gcc.def b/externals/grill/flext/buildsys/mac/pd/config-gcc.def index 925fdd9a..038fe1c1 100644 --- a/externals/grill/flext/buildsys/mac/pd/config-gcc.def +++ b/externals/grill/flext/buildsys/mac/pd/config-gcc.def @@ -24,13 +24,25 @@ INSTPATH=$(PDPATH)/extra ############################################################### +# user defined compiler flags +UFLAGS += -ffast-math + # user defined optimization flags -# (check if they match your system!) -UFLAGS=-faltivec -ffast-math +OFLAGS += -Os -ftree-vectorize -# user defined compiler flags -# (check if they match your system!) -OFLAGS=-O3 -# optimizations for G4 -OFLAGS+=-mcpu=G4 +# 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 diff --git a/externals/grill/flext/buildsys/mac/pd/gnumake-gcc-ext.inc b/externals/grill/flext/buildsys/mac/pd/gnumake-gcc-ext.inc index 2e4f6995..a1712728 100644 --- a/externals/grill/flext/buildsys/mac/pd/gnumake-gcc-ext.inc +++ b/externals/grill/flext/buildsys/mac/pd/gnumake-gcc-ext.inc @@ -1,7 +1,7 @@ EXT=pd_darwin -#LDFLAGS += -bundle -bundle_loader $(PDBIN) -LDFLAGS += -dynamiclib -undefined dynamic_lookup +LDFLAGS += -bundle -bundle_loader $(PDBIN) +#LDFLAGS += -dynamiclib -undefined dynamic_lookup TARGET=$(TARGETPATH)/$(TARGETNAME) INSTTARGET=$(TARGET) |