Xinqi Bao's Git
projects
/
dwm.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f6128a1
)
reverting to optimised compiler options, current state seems stable
author
Anselm R Garbe <
[email protected]
>
Thu, 9 Jul 2009 19:49:48 +0000
(20:49 +0100)
committer
Anselm R Garbe <
[email protected]
>
Thu, 9 Jul 2009 19:49:48 +0000
(20:49 +0100)
config.mk
patch
|
blob
|
history
dwm.c
patch
|
blob
|
history
diff --git
a/config.mk
b/config.mk
index
f5ec4c1
..
3fcfd2f
100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-20,10
+20,10
@@
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS}
# flags
CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
# flags
CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
-CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
-
#
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
-LDFLAGS = -g ${LIBS}
-
#
LDFLAGS = -s ${LIBS}
+
#
CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
+CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+
#
LDFLAGS = -g ${LIBS}
+LDFLAGS = -s ${LIBS}
# Solaris
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
# Solaris
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
diff --git
a/dwm.c
b/dwm.c
index
d71bb58
..
5822944
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-1679,7
+1679,7
@@
void
updategeom(void) {
int i, n = 1;
Client *c;
updategeom(void) {
int i, n = 1;
Client *c;
- Monitor *newmons = NULL, *m, *tm;
+ Monitor *newmons = NULL, *m
= NULL
, *tm;
#ifdef XINERAMA
XineramaScreenInfo *info = NULL;
#ifdef XINERAMA
XineramaScreenInfo *info = NULL;