~ chicken-core (chicken-5) 2e7d93ee0c23d438adf378390a5878a914e868bd
commit 2e7d93ee0c23d438adf378390a5878a914e868bd Author: Mario Domenech Goulart <mario@parenteses.org> AuthorDate: Wed Jul 28 21:51:54 2021 +0200 Commit: Evan Hanson <evhan@foldling.org> CommitDate: Fri Jul 30 12:30:10 2021 +1200 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 <mario@parenteses.org> Signed-off-by: Evan Hanson <evhan@foldling.org> 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)Trap