[hackers] [slock] config.mk: be more explicative about FLAGS || Quentin Rameau

From: <git_AT_suckless.org>
Date: Thu, 8 Sep 2016 23:37:26 +0200 (CEST)

commit cd3c546c37d91e24b8c55bab88bfcb920d8ea895
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Thu Sep 8 19:03:12 2016 +0200
Commit: Markus Teich <markus.teich_AT_stusta.mhn.de>
CommitDate: Thu Sep 8 23:36:07 2016 +0200

    config.mk: be more explicative about FLAGS
    
    Group each *FLAG with its description and add a NetBSD specific.

diff --git a/config.mk b/config.mk
index 11357a7..199bf7f 100644
--- a/config.mk
+++ b/config.mk
_AT_@ -20,10 +20,12 @@ CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
 LDFLAGS = -s ${LIBS}
 COMPATSRC = explicit_bzero.c
 
-# On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS
 # On OpenBSD and Darwin remove -lcrypt from LIBS
 #LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXext -lXrandr
-#CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE
+# On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS
+# On NetBSD add -D_NETBSD_SOURCE to CPPFLAGS
+#CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE -D_NETBSD_SOURCE
+# On OpenBSD set COMPATSRC to empty
 #COMPATSRC =
 
 # compiler and linker
Received on Thu Sep 08 2016 - 23:37:26 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 08 2016 - 23:48:14 CEST