File vamp-match-plugin-fix_makefile.patch of Package vamp-match-plugin
--- Makefile.orig 2011-03-10 00:56:08.000000000 +0100
+++ Makefile 2011-03-10 00:57:05.000000000 +0100
@@ -1,8 +1,10 @@
-CXXFLAGS := -fPIC -ffast-math -O3 -Wall
+OPTFLAGS = -O3
+CXXFLAGS = -fPIC -ffast-math -Wall $(OPTFLAGS)
+CXX = g++
match-vamp-plugin.so: Finder.o Matcher.o MatchFeeder.o MatchVampPlugin.o Path.o
- g++ -shared $^ -o $@ -Wl,-Bstatic -lvamp-sdk -Wl,-Bdynamic -lpthread -Wl,--version-script=vamp-plugin.map
+ $(CXX) $(CXXFLAGS) -shared $^ -o $@ -lvamp-sdk -lpthread
clean:
rm *.o