aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/py')
-rwxr-xr-xexternals/grill/py/config-pd-darwin.txt3
-rw-r--r--externals/grill/py/config-pd-linux.txt3
-rwxr-xr-xexternals/grill/py/makefile.pd-darwin2
-rw-r--r--externals/grill/py/makefile.pd-linux1
4 files changed, 7 insertions, 2 deletions
diff --git a/externals/grill/py/config-pd-darwin.txt b/externals/grill/py/config-pd-darwin.txt
index 7f5dbbb8..ff7f6c49 100755
--- a/externals/grill/py/config-pd-darwin.txt
+++ b/externals/grill/py/config-pd-darwin.txt
@@ -28,4 +28,5 @@ TARGDIR=./pd-darwin
# (leave blank to omit installation)
INSTPATH=/usr/local/pd/extra
-
+# user flags
+# UFLAGS=-O6 -maltivec
diff --git a/externals/grill/py/config-pd-linux.txt b/externals/grill/py/config-pd-linux.txt
index ffedf8e2..fb83285e 100644
--- a/externals/grill/py/config-pd-linux.txt
+++ b/externals/grill/py/config-pd-linux.txt
@@ -30,3 +30,6 @@ INSTPATH=/usr/local/lib/pd/extra
# define for shared build
FLEXT_SHARED=1
+
+# additional user flags
+UFLAGS= \ No newline at end of file
diff --git a/externals/grill/py/makefile.pd-darwin b/externals/grill/py/makefile.pd-darwin
index ec0eeeba..47d5bdac 100755
--- a/externals/grill/py/makefile.pd-darwin
+++ b/externals/grill/py/makefile.pd-darwin
@@ -18,7 +18,7 @@ FLEXTLIB=${FLEXTPATH}/flext_t.a
INCLUDES=${PDPATH} ${FLEXTPATH} ${PYTHONINCLUDE}
LIBPATH= ${PYTHONLIB}
FLAGS=-DFLEXT_SYS=2 -DFLEXT_THREADS
-CFLAGS=-O6 -Wno-unused -Wno-parentheses -Wno-switch -Wstrict-prototypes # -maltivec
+CFLAGS=$(UFLAGS) -Wno-unused -Wno-parentheses -Wno-switch -Wstrict-prototypes
#CFLAGS=-g
LIBS=m python${PYTHONVER}
LDFLAGS=-bundle -bundle_loader ${PD}
diff --git a/externals/grill/py/makefile.pd-linux b/externals/grill/py/makefile.pd-linux
index d77ea836..2b725264 100644
--- a/externals/grill/py/makefile.pd-linux
+++ b/externals/grill/py/makefile.pd-linux
@@ -19,6 +19,7 @@ INCLUDES=$(PDPATH) $(PYTHONINCLUDE)
LIBPATH=$(PYTHONLIB)
FLAGS=-DFLEXT_SYS=2
CFLAGS=-pthread $(UFLAGS)
+LDFLAGS=$(UFLAGS) # needed by icc
LIBS=util python$(PYTHONVER)
ifdef DEBUG