aboutsummaryrefslogtreecommitdiff
path: root/desktop/dwm/patches/config.mk.diff
blob: 086506bc934bdb8df4a3f28104c8d7d931a99a84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- config.mk	2010-06-04 05:39:15.000000000 -0500
+++ config.mk	2011-02-19 22:26:00.055940203 -0600
@@ -16,11 +16,11 @@
 
 # includes and libs
 INCS = -I. -I/usr/include -I${X11INC}
-LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS}
+LIBS = -lc -L${X11LIB} -lX11 ${XINERAMALIBS}
 
 # flags
 CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
-CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
+CFLAGS = -g -std=c99 -pedantic -Wall ${OPTS} ${INCS} ${CPPFLAGS}
 #CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
 LDFLAGS = -g ${LIBS}
 #LDFLAGS = -s ${LIBS}