diff options
Diffstat (limited to 'externals/grill/flext/buildsys/lnx')
-rw-r--r-- | externals/grill/flext/buildsys/lnx/gnumake-gcc.inc | 5 | ||||
-rw-r--r-- | externals/grill/flext/buildsys/lnx/pd/config-gcc.def | 8 |
2 files changed, 10 insertions, 3 deletions
diff --git a/externals/grill/flext/buildsys/lnx/gnumake-gcc.inc b/externals/grill/flext/buildsys/lnx/gnumake-gcc.inc index 55022c36..70a4601e 100644 --- a/externals/grill/flext/buildsys/lnx/gnumake-gcc.inc +++ b/externals/grill/flext/buildsys/lnx/gnumake-gcc.inc @@ -6,10 +6,13 @@ TARGET=$(TARGETPATH)/$(OUTNAME).$(EXT) ############################################## -LDFLAGS += -shared +CFLAGS += -pthread +LDFLAGS += -pthread -shared ############################################## +CFLAGS += $(UFLAGS) + ifdef DEBUG CFLAGS += -g -D_DEBUG else diff --git a/externals/grill/flext/buildsys/lnx/pd/config-gcc.def b/externals/grill/flext/buildsys/lnx/pd/config-gcc.def index c58ab238..bf0ff666 100644 --- a/externals/grill/flext/buildsys/lnx/pd/config-gcc.def +++ b/externals/grill/flext/buildsys/lnx/pd/config-gcc.def @@ -24,6 +24,10 @@ INSTPATH=/usr/local/lib/pd/extra # user defined compiler flags # (check if they match your system!) -OFLAGS=-O2 +UFLAGS=-msse + +# user defined optimization flags +# (check if they match your system!) +OFLAGS=-O3 # optimizations for Pentium 4 -#OFLAGS+=-march=pentium4 -msse +OFLAGS+=-march=pentium4 |