summaryrefslogtreecommitdiff
path: root/desktop/wmdrawer/wmdrawer-0.10.5-custom_cflags.patch
blob: 9311880c19dd1a2e18d71f2efc897edea3eed5a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff -Nur wmdrawer-0.10.5.orig/Makefile wmdrawer-0.10.5/Makefile
--- wmdrawer-0.10.5.orig/Makefile	2004-06-26 13:16:04.000000000 -0500
+++ wmdrawer-0.10.5/Makefile	2009-05-10 21:40:22.098379875 -0500
@@ -24,19 +24,19 @@
 
 ifdef USE_GDKPIXBUF
 IMGLIB_DEF = -DUSE_GDKPIXBUF
-CFLAGS = -O3 -Wall `gdk-pixbuf-config --cflags`
+CFLAGS = -Wall $(EXTRA_CFLAGS) `gdk-pixbuf-config --cflags`
 LDFLAGS = `gdk-pixbuf-config --libs` -lgdk_pixbuf_xlib
 endif
 
 ifdef USE_GDKPIXBUF2
 IMGLIB_DEF = -DUSE_GDKPIXBUF2
-CFLAGS = -O3 -Wall `pkg-config --cflags gdk-pixbuf-xlib-2.0` -I/usr/X11R6/include
-LDFLAGS = `pkg-config --libs gdk-pixbuf-xlib-2.0` -rdynamic -lX11 -lXi -lXext -L/usr/X11R6/lib
+CFLAGS = -Wall $(EXTRA_CFLAGS) `pkg-config --cflags gdk-pixbuf-xlib-2.0` -I/usr/include
+LDFLAGS = `pkg-config --libs gdk-pixbuf-xlib-2.0` -rdynamic -lX11 -lXi -lXext -L/usr/lib
 endif
 
 ifdef USE_IMLIB
 IMGLIB_DEF = -DUSE_IMLIB
-CFLAGS = -O3 -Wall `imlib-config --cflags`
+CFLAGS = -Wall $(EXTRA_CFLAGS)  `imlib-config --cflags`
 LDFLAGS = `imlib-config --libs`
 endif