mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
9d2aeabb20
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
20 lines
816 B
Diff
20 lines
816 B
Diff
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
|
|
|