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