summaryrefslogtreecommitdiff
path: root/desktop/dwm/add_OPTS_to_config.mk.diff
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/dwm/add_OPTS_to_config.mk.diff')
-rw-r--r--desktop/dwm/add_OPTS_to_config.mk.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/desktop/dwm/add_OPTS_to_config.mk.diff b/desktop/dwm/add_OPTS_to_config.mk.diff
new file mode 100644
index 0000000000..414b7bb99f
--- /dev/null
+++ b/desktop/dwm/add_OPTS_to_config.mk.diff
@@ -0,0 +1,12 @@
+diff -Nur dwm-5.7.2.orig/config.mk dwm-5.7.2/config.mk
+--- dwm-5.7.2.orig/config.mk 2009-09-27 14:20:23.000000000 -0500
++++ dwm-5.7.2/config.mk 2009-10-14 22:09:46.313425339 -0500
+@@ -21,7 +21,7 @@
+ # flags
+ CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+ #CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
+-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
++CFLAGS = -std=c99 -pedantic -Wall ${OPTS} ${INCS} ${CPPFLAGS}
+ #LDFLAGS = -g ${LIBS}
+ LDFLAGS = -s ${LIBS}
+