Welcome! Log In Create A New Profile

Advanced

[njs] Getting rid of non-portable _GNU_SOURCE define.

Dmitry Volyntsev
August 11, 2020 10:34AM
details: https://hg.nginx.org/njs/rev/a0f2c61c1c83
branches:
changeset: 1486:a0f2c61c1c83
user: Dmitry Volyntsev <xeioex@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)
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Getting rid of non-portable _GNU_SOURCE define.

Dmitry Volyntsev 251 August 11, 2020 10:34AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 319
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready