2010-05-13 00:23:11 +02:00
|
|
|
diff -Nur slock-0.9.orig/config.mk slock-0.9/config.mk
|
|
|
|
--- slock-0.9.orig/config.mk 2008-07-29 13:22:46.000000000 -0500
|
|
|
|
+++ slock-0.9/config.mk 2009-07-06 00:50:51.209930578 -0500
|
2010-05-12 23:28:21 +02:00
|
|
|
@@ -15,7 +15,7 @@
|
|
|
|
|
|
|
|
# flags
|
|
|
|
CPPFLAGS = -DVERSION=\"${VERSION}\" -DHAVE_SHADOW_H
|
|
|
|
-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
2010-05-13 00:23:11 +02:00
|
|
|
+CFLAGS = @SLACKCFLAGS@ -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS}
|
2010-05-12 23:28:21 +02:00
|
|
|
LDFLAGS = -s ${LIBS}
|
|
|
|
|
|
|
|
# On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS and add -DHAVE_BSD_AUTH
|