]> git.kaiwu.me - njs.git/commitdiff
Getting rid of non-portable _GNU_SOURCE define.
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 11 Aug 2020 14:31:04 +0000 (14:31 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Tue, 11 Aug 2020 14:31:04 +0000 (14:31 +0000)
auto/os

diff --git a/auto/os b/auto/os
index edd6daa467911db9606506bbd597b66b7792cfec..28984416fe99fee17c678aee6b7a748757cc9c1b 100644 (file)
--- a/auto/os
+++ b/auto/os
@@ -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)