slackbuilds_ponce/desktop/slock/patches/config.mk.patch
Robby Workman 65271fcf4d desktop/slock: Added some patches from upstream git
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2016-01-10 21:36:31 -06: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