From 9aa5e08ecabf090d121eccc5bb6099a56c4dba57 Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Tue, 11 Aug 2020 14:31:04 +0000 Subject: [PATCH] Getting rid of non-portable _GNU_SOURCE define. --- auto/os | 3 --- 1 file changed, 3 deletions(-) diff --git a/auto/os b/auto/os index edd6daa4..28984416 100644 --- 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) -- 2.47.3