2017-05-15 09:43:17 +08:00
|
|
|
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 @@
|
2010-05-13 05:28:21 +08:00
|
|
|
|
|
|
|
# flags
|
2017-05-15 09:43:17 +08:00
|
|
|
CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE -DHAVE_SHADOW_H
|
2010-05-13 05:28:21 +08:00
|
|
|
-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
2010-05-13 06:23:11 +08:00
|
|
|
+CFLAGS = @SLACKCFLAGS@ -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS}
|
2010-05-13 05:28:21 +08:00
|
|
|
LDFLAGS = -s ${LIBS}
|
2017-05-15 09:43:17 +08:00
|
|
|
COMPATSRC = explicit_bzero.c
|
2010-05-13 05:28:21 +08:00
|
|
|
|