freebsd-ports/audio/caps-plugins/files/patch-Makefile

26 lines
575 B
Text
Raw Normal View History

2009-08-26 18:49:39 +02:00
--- Makefile.orig 2009-07-31 15:12:45.000000000 +0200
+++ Makefile 2009-08-26 18:39:34.000000000 +0200
@@ -1,9 +1,8 @@
-PREFIX = /usr/local
-CC = g++
+CC = $(CXX)
2009-08-26 18:49:39 +02:00
# only use -ffast-math if you're feeling mighty adventurous. (g++ issues)
-OPTS = -O2 -funroll-loops -Wall -fPIC -DPIC
+OPTS = -Wall -fPIC -DPIC
#OPTS = -g -DDEBUG
2009-08-26 18:49:39 +02:00
_LDFLAGS = -nostartfiles -shared
@@ -13,8 +12,8 @@
-include defines.make
-CFLAGS = $(OPTS) $(_CFLAGS)
2009-08-26 18:49:39 +02:00
-LDFLAGS = $(_LDFLAGS) $(CFLAGS)
+CFLAGS += $(OPTS) $(_CFLAGS)
+LDFLAGS += $(_LDFLAGS) $(CFLAGS)
PLUG = caps
2009-08-26 18:49:39 +02:00
VERSION = 0.4.3