Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/httpd set -D_GNU_SOURCE, needed for linux systems an...



details:   https://anonhg.NetBSD.org/src/rev/98d11da262ad
branches:  trunk
changeset: 460659:98d11da262ad
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Oct 30 07:28:13 2019 +0000

description:
set -D_GNU_SOURCE, needed for linux systems and should be
harmless or ignored elsewhere.

from perry.

diffstat:

 libexec/httpd/Makefile.boot |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r aa8f0e23ca12 -r 98d11da262ad libexec/httpd/Makefile.boot
--- a/libexec/httpd/Makefile.boot       Wed Oct 30 07:27:51 2019 +0000
+++ b/libexec/httpd/Makefile.boot       Wed Oct 30 07:28:13 2019 +0000
@@ -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



Home | Main Index | Thread Index | Old Index