aboutsummaryrefslogtreecommitdiff
path: root/libraries/pidgin-mra/use_our_cflags.diff
blob: 352d52e24b4bd91f9a8019a491b36ad5161ae346 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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