>From d9ab2a823c1176f036818b76f0d38b7fffae4e6b Mon Sep 17 00:00:00 2001 From: Mario Domenech Goulart Date: Wed, 28 Jul 2021 21:51:54 +0200 Subject: [PATCH] Makefile.detect: uname -o does not exist on mac Silence a warning in `make` output on systems where the `uname` command does not have the `-o` flag. This patch was submitted by Lassi Kortela: https://lists.nongnu.org/archive/html/chicken-hackers/2021-07/msg00011.html Signed-off-by: Mario Domenech Goulart --- Makefile.detect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.detect b/Makefile.detect index 10d36545..9694b125 100644 --- a/Makefile.detect +++ b/Makefile.detect @@ -19,7 +19,7 @@ else # Now we can use uname tests uname_s:=$(shell uname) -uname_o:=$(shell uname -o) +uname_o:=$(shell uname -o 2>/dev/null) # Check for specific platforms ifeq ($(uname_o),Msys) -- 2.20.1