[njs] Getting rid of non-portable _GNU_SOURCE define.
Dmitry Volyntsev
xeioex at nginx.com
Tue Aug 11 14:32:18 UTC 2020
details: https://hg.nginx.org/njs/rev/a0f2c61c1c83
branches:
changeset: 1486:a0f2c61c1c83
user: Dmitry Volyntsev <xeioex at nginx.com>
date: Tue Aug 11 14:31:04 2020 +0000
description:
Getting rid of non-portable _GNU_SOURCE define.
diffstat:
auto/os | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diffs (13 lines):
diff -r bcd1a41c6a67 -r a0f2c61c1c83 auto/os
--- a/auto/os Tue Jul 28 16:58:59 2020 +0300
+++ b/auto/os Tue Aug 11 14:31:04 2020 +0000
@@ -14,9 +14,6 @@ case "$NJS_SYSTEM" in
# Linux uname -p can return "unknown".
NJS_SYSTEM_PLATFORM=`uname -m 2>/dev/null`
CC=${CC:-cc}
-
- # NAN and INFINITY require _GNU_SOURCE on old Linux.
- NJS_CFLAGS="$NJS_CFLAGS -D_GNU_SOURCE"
;;
FreeBSD | NetBSD | OpenBSD)
More information about the nginx-devel
mailing list