From 46e72b698abfbaa371ec7e3e0d19bbdac322d17c Mon Sep 17 00:00:00 2001 From: Martin Gysel Date: Sun, 27 Nov 2011 20:22:46 +0100 Subject: [PATCH] makefile: use dumpmachine instead of grep for Target grep for Target doesn't work on non english platforms -dumpmachine is (hopefully) supposed to always return the target machine tuple Signed-off-by: Martin Gysel Signed-off-by: Linus Torvalds --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3f44cb6..0d33402 100644 --- a/Makefile +++ b/Makefile @@ -87,7 +87,7 @@ GLIB2CFLAGS = $(shell $(PKGCONFIG) --cflags glib-2.0) GTK2CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-2.0) CFLAGS += $(shell $(XSLCONFIG) --cflags) -UNAME := $(shell $(CC) -v 2>&1 | grep Target | grep -E -o "linux|darwin|win") +UNAME := $(shell $(CC) -dumpmachine 2>&1 | grep -E -o "linux|darwin|win") ifeq ($(UNAME), linux) -- 2.43.0