slackbuilds_ponce/desktop/slock/config.mk.patch
Robby Workman 5bf816c02b desktop/slock: Updated for version 1.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2015-03-08 06:35:00 +07:00

11 lines
431 B
Diff

--- slock-1.2/config.mk.orig 2014-12-22 11:18:07.000000000 +0100
+++ slock-1.2/config.mk 2015-03-01 16:50:44.945646629 +0100
@@ -15,7 +15,7 @@
# flags
CPPFLAGS = -DVERSION=\"${VERSION}\" -DHAVE_SHADOW_H
-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+CFLAGS = @SLACKCFLAGS@ -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}
# On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS and add -DHAVE_BSD_AUTH