diff options
-rw-r--r-- | config.mk | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -20,10 +20,12 @@ CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} | |||
20 | LDFLAGS = -s ${LIBS} | 20 | LDFLAGS = -s ${LIBS} |
21 | COMPATSRC = explicit_bzero.c | 21 | COMPATSRC = explicit_bzero.c |
22 | 22 | ||
23 | # On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS | ||
24 | # On OpenBSD and Darwin remove -lcrypt from LIBS | 23 | # On OpenBSD and Darwin remove -lcrypt from LIBS |
25 | #LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXext -lXrandr | 24 | #LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXext -lXrandr |
26 | #CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE | 25 | # On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS |
26 | # On NetBSD add -D_NETBSD_SOURCE to CPPFLAGS | ||
27 | #CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE -D_NETBSD_SOURCE | ||
28 | # On OpenBSD set COMPATSRC to empty | ||
27 | #COMPATSRC = | 29 | #COMPATSRC = |
28 | 30 | ||
29 | # compiler and linker | 31 | # compiler and linker |