chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: uname -o does not exist on mac


From: Mario Domenech Goulart
Subject: Re: uname -o does not exist on mac
Date: Wed, 28 Jul 2021 21:57:02 +0200

On Sun, 18 Jul 2021 12:01:54 +0300 Lassi Kortela <lassi@lassi.io> wrote:

> Here's a small patch to silence a warning in `make` output on systems
> where the `uname` command does not have the `-o` flag.
>
> 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)

Thanks, Lassi.  Attached is a git-formatted signed-off patch.

All the best.
Mario
-- 
http://parenteses.org/mario

Attachment: 0001-Makefile.detect-uname-o-does-not-exist-on-mac.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]