diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-12-25 17:48:46 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-12-25 17:48:46 +0100 |
commit | 55556b66bc57be0d82831b9cb353b79816216316 (patch) | |
tree | 3fa13809630cb5888d6d42267f52c24339ff2c69 /config.mk | |
parent | 543e74e64fcffd0181cb94f63a4a4029e44c7e4f (diff) |
compat: add strlcpy, strlcat, for glibc
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -26,5 +26,10 @@ LDFLAGS = ${LIBS} # -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS} #LDFLAGS = -static -s ${LIBS} +# uncomment for compat +CFLAGS += -DCOMPAT +# uncomment if your libc doesn't support strlcat, strlcpy. +EXTRAOBJ = strlcat.o strlcpy.o + # compiler and linker #CC = cc |