From 4d24876490c0723f52623823ae4a593c19cf7e8e Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sat, 2 Feb 2019 15:20:59 -0500 Subject: [PATCH] Fix Linux detection for GNU Hurd --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 9d3c4f35..1aacb615 100755 --- a/GNUmakefile +++ b/GNUmakefile @@ -61,7 +61,7 @@ ifeq ($(SYSTEMX),) SYSTEMX := $(shell uname -s 2>/dev/null) endif -IS_LINUX := $(shell echo "$(SYSTEMX)" | $(GREP) -i -c "Linux") +IS_LINUX := $(shell echo "$(SYSTEMX)" | $(GREP) -i -c -E "Linux|GNU|Hurd") IS_MINGW := $(shell echo "$(SYSTEMX)" | $(GREP) -i -c "MinGW") IS_CYGWIN := $(shell echo "$(SYSTEMX)" | $(GREP) -i -c "Cygwin") IS_DARWIN := $(shell echo "$(SYSTEMX)" | $(GREP) -i -c "Darwin")