reverting to optimised compiler options, current state seems stable 8420fb1c
Anselm R Garbe · 2009-07-09 20:49 2 file(s) · +5 −5
config.mk +4 −4
20 20
21 21
# flags
22 22
CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
23 -
CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
24 -
#CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
25 -
LDFLAGS = -g ${LIBS}
26 -
#LDFLAGS = -s ${LIBS}
23 +
#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
24 +
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
25 +
#LDFLAGS = -g ${LIBS}
26 +
LDFLAGS = -s ${LIBS}
27 27
28 28
# Solaris
29 29
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
dwm.c +1 −1
1679 1679
updategeom(void) {
1680 1680
	int i, n = 1;
1681 1681
	Client *c;
1682 -
	Monitor *newmons = NULL, *m, *tm;
1682 +
	Monitor *newmons = NULL, *m = NULL, *tm;
1683 1683
1684 1684
#ifdef XINERAMA
1685 1685
	XineramaScreenInfo *info = NULL;