We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d7e1f3 commit 07acd46Copy full SHA for 07acd46
Makefile.linux
@@ -1,4 +1,4 @@
1
-CPPFLAGS += -D_LINUX_PORT -Imissing
+CPPFLAGS += -D_GNU_SOURCE -D_LINUX_PORT -Imissing
2
MANPREFIX ?= ${PREFIX}/share/man
3
EXTRA_SRC = missing/kqueue_inotify.c
4
Makefile.linux-compat
EXTRA_SRC = missing/strlcpy.c missing/kqueue_inotify.c
configure
@@ -1,7 +1,9 @@
#!/bin/sh
test_libc_features() {
- 2>/dev/null gcc -xc - <<-EOF
+ CFLAGS="-D_GNU_SOURCE"
5
+ : ${CC:=cc}
6
+ 2>/dev/null $CC -xc $CFLAGS -o /dev/null - <<-EOF
7
#include <string.h>
8
int main(void) {
9
char dst[4];
0 commit comments