[hackers] [dwm] reverting to optimised compiler options, current state seems stable || Anselm R Garbe

From: <hg_AT_suckless.org>
Date: Thu, 9 Jul 2009 19:49:52 +0000 (UTC)

changeset: 1457:96862665fd92
tag: tip
user: Anselm R Garbe <anselm_AT_garbe.us>
date: Thu Jul 09 20:49:48 2009 +0100
files: config.mk dwm.c
description:
reverting to optimised compiler options, current state seems stable

diff -r 483124e931ef -r 96862665fd92 config.mk
--- a/config.mk Thu Jul 09 20:11:33 2009 +0100
+++ b/config.mk Thu Jul 09 20:49:48 2009 +0100
@@ -20,10 +20,10 @@
 
 # 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}\"
diff -r 483124e931ef -r 96862665fd92 dwm.c
--- a/dwm.c Thu Jul 09 20:11:33 2009 +0100
+++ b/dwm.c Thu Jul 09 20:49:48 2009 +0100
@@ -1679,7 +1679,7 @@
 updategeom(void) {
         int i, n = 1;
         Client *c;
- Monitor *newmons = NULL, *m, *tm;
+ Monitor *newmons = NULL, *m = NULL, *tm;
 
 #ifdef XINERAMA
         XineramaScreenInfo *info = NULL;
Received on Thu Jul 09 2009 - 19:49:52 UTC

This archive was generated by hypermail 2.2.0 : Thu Jul 09 2009 - 20:00:06 UTC