Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Fix issue 12962 - Should use isainfo on Solaris systems to determine
Browse files Browse the repository at this point in the history
model
  • Loading branch information
jasonbking committed Jun 22, 2014
1 parent 12a0dea commit 1b00a71
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion posix.mak
Expand Up @@ -31,7 +31,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
Expand Down

0 comments on commit 1b00a71

Please sign in to comment.