commit 2052090f8c4837f606901a4c7ffd689594c86c9c parent cfcd4f66c467e39955829d43fcc5dd849895f9d8 Author: Andrew Kloet <andrew@kloet.net> Date: Mon, 27 Apr 2026 12:25:14 -0400 add D_GNU_SOURCE for strcasestr() Diffstat:
| M | config.mk | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/config.mk b/config.mk @@ -19,8 +19,10 @@ INCS = ${NCURSESINC} LIBS = -lssl -lcrypto ${NCURSESLIB} # flags -CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"${VERSION}\" -CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS} +CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -D_XOPEN_SOURCE=700L \ + -DVERSION=\"${VERSION}\" +CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} \ + ${CPPFLAGS} #CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} LDFLAGS = ${LIBS}