summaryrefslogtreecommitdiff
path: root/libexec/httpd
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2019-10-30 07:28:13 +0000
committermrg <mrg@NetBSD.org>2019-10-30 07:28:13 +0000
commit37272c61ce3a8b742e6ddafd4de5077cd97ea7fa (patch)
tree369115c6556e2a588fedf76b850d210d8b08a09b /libexec/httpd
parentc833dc3fb8d144d0c41247d8482766ddd0a2a486 (diff)
set -D_GNU_SOURCE, needed for linux systems and should be
harmless or ignored elsewhere. from perry.
Diffstat (limited to 'libexec/httpd')
-rw-r--r--libexec/httpd/Makefile.boot2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/httpd/Makefile.boot b/libexec/httpd/Makefile.boot
index 8a9aaf0f1b9..8bf7534de06 100644
--- a/libexec/httpd/Makefile.boot
+++ b/libexec/httpd/Makefile.boot
@@ -6,7 +6,7 @@
CC= cc
OPT= -O
LARGE_CFLAGS= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-LOCAL_CFLAGS= -DNO_LUA_SUPPORT
+LOCAL_CFLAGS= -DNO_LUA_SUPPORT -D_GNU_SOURCE
CFLAGS= $(OPT) $(LARGE_CFLAGS) $(LOCAL_CFLAGS)
GROFF= groff -Tascii