Xinqi Bao's Git

added optimization back (removed it for debugging some time ago)
[slstatus.git] / config.mk
index 4745073..ded73aa 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -11,7 +11,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lasound
 
 # flags
 CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE
-CFLAGS = -std=c99 -pedantic -Wno-unused-function -Wall -Wextra -O0 ${INCS} ${CPPFLAGS}
+CFLAGS = -std=c99 -pedantic -Wno-unused-function -Wall -Wextra -O2 ${INCS} ${CPPFLAGS}
 LDFLAGS = ${LIBS}
 
 CC = cc