From acc5c4c5e28019e8a7d58892a4f28cb38b3c7cd9 Mon Sep 17 00:00:00 2001 From: Lassi Kortela Date: Sat, 10 Aug 2019 01:50:04 +0300 Subject: [PATCH] Switch to _GNU_SOURCE on Linux No reason to care about Posix in particular, and it causes problems. --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index 702586d..09e90d3 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -20,7 +20,7 @@ haiku) ;; linux) default_cc="gcc" - CFLAGS="$CFLAGS -D _XOPEN_SOURCE" + CFLAGS="$CFLAGS -D _GNU_SOURCE" ;; netbsd) default_cc="gcc"