diff options
Diffstat (limited to 'libraries/pidgin-mra/use_our_cflags.diff')
-rw-r--r-- | libraries/pidgin-mra/use_our_cflags.diff | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libraries/pidgin-mra/use_our_cflags.diff b/libraries/pidgin-mra/use_our_cflags.diff new file mode 100644 index 0000000000..352d52e24b --- /dev/null +++ b/libraries/pidgin-mra/use_our_cflags.diff @@ -0,0 +1,20 @@ +diff -Nur pidgin-mra-0.1.4.2.orig/Makefile pidgin-mra-0.1.4.2/Makefile +--- pidgin-mra-0.1.4.2.orig/Makefile 2011-05-18 16:28:37.000000000 -0500 ++++ pidgin-mra-0.1.4.2/Makefile 2011-12-17 23:24:03.447852844 -0600 +@@ -1,6 +1,7 @@ + LIBDIR ?= /usr/lib + DATADIR ?= /usr/share + LINUX_COMPILER = gcc ++OPTS = -O2 + + LIBPURPLE_CFLAGS = -I/usr/include/libpurple -DPURPLE_PLUGINS -DENABLE_NLS + GLIB_CFLAGS = $(shell pkg-config --cflags glib-2.0) +@@ -50,7 +51,7 @@ + rm -f libmra.so + + libmra.so: ${MRA_SOURCES} +- ${LINUX_COMPILER} ${LIBPURPLE_CFLAGS} -Wall -Wextra -pthread ${GLIB_CFLAGS} -I. -g3 -O2 -pipe ${MRA_SOURCES} -o libmra.so -shared -fPIC -DPIC ++ ${LINUX_COMPILER} ${LIBPURPLE_CFLAGS} -Wall -Wextra -pthread ${GLIB_CFLAGS} -I. -g3 ${OPTS} -pipe ${MRA_SOURCES} -o libmra.so -shared -fPIC -DPIC + + release: libmra.so + |