slackbuilds/desktop/slock/patches/config.mk.patch

13 lines
462 B
Diff
Raw Normal View History

diff -Nur slock-1.4.orig/config.mk slock-1.4/config.mk
--- slock-1.4.orig/config.mk 2016-11-19 18:31:23.000000000 -0600
+++ slock-1.4/config.mk 2017-05-14 20:23:33.114633934 -0500
@@ -16,7 +16,7 @@
# flags
CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE -DHAVE_SHADOW_H
-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
2010-05-13 06:23:11 +08:00
+CFLAGS = @SLACKCFLAGS@ -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}
COMPATSRC = explicit_bzero.c