diff options
author | Martin Gysel <me@bearsh.org> | 2011-11-27 20:22:46 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-27 12:14:07 -0800 |
commit | 46e72b698abfbaa371ec7e3e0d19bbdac322d17c (patch) | |
tree | 09c5581f6b0fecd887cc93e98c3fd76928e7cd4e /Makefile | |
parent | addfe79024abf29740b3d6b6b88d27469289c2e2 (diff) | |
download | subsurface-46e72b698abfbaa371ec7e3e0d19bbdac322d17c.tar.gz |
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 <me@bearsh.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |