]> git.tdb.fi Git - ext/subsurface.git/blobdiff - Makefile
Add typical 0 to 5 star rating for dives
[ext/subsurface.git] / Makefile
index 3f44cb68fc23cc8d70be09471a6720c29c55ecdb..0d3340232b899948022b4083c39dcfca851e37b0 100644 (file)
--- 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)