summaryrefslogtreecommitdiffstats
path: root/redhat/extras/akode/akode-cflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/extras/akode/akode-cflags.patch')
-rw-r--r--redhat/extras/akode/akode-cflags.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/redhat/extras/akode/akode-cflags.patch b/redhat/extras/akode/akode-cflags.patch
new file mode 100644
index 000000000..ecad48ff6
--- /dev/null
+++ b/redhat/extras/akode/akode-cflags.patch
@@ -0,0 +1,10 @@
+--- akode-2.0.2/akode/lib/Makefile.am.ORI 2012-01-16 19:17:09.849211160 +0100
++++ akode-2.0.2/akode/lib/Makefile.am 2012-01-16 19:17:24.496410002 +0100
+@@ -12,6 +12,7 @@
+ player.cpp magic.cpp
+
+ AM_CPPFLAGS = -DAKODE_SEARCHDIR=\"$(libdir)\"
++AM_CXXFLAGS = -fPIC
+
+ libakode_la_LDFLAGS = -no-undefined -version-info 2:0:0 $(all_libraries)
+ libakode_la_LIBADD = $(LIBPTHREAD) $(AKODE_LIBDL) $(LIBSEM)