From a086409bff9f2443da1f3aa8c5eba7ed122eca81 Mon Sep 17 00:00:00 2001 From: kai Date: Fri, 21 Nov 2014 20:31:54 +0100 Subject: [PATCH] Change model detection on Solaris. Uses the same command as in druntime makefile. --- posix.mak | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/posix.mak b/posix.mak index 64e14122084..0933873d953 100644 --- a/posix.mak +++ b/posix.mak @@ -53,7 +53,11 @@ ifeq (,$(OS)) endif ifeq (,$(MODEL)) - uname_M:=$(shell uname -m) + ifeq ($(OS),solaris) + uname_M:=$(shell isainfo -n) + else + uname_M:=$(shell uname -m) + endif ifneq (,$(findstring $(uname_M),x86_64 amd64)) MODEL:=64 endif