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

Commit

Permalink
Merge pull request #850 from jasonbking/isainfo
Browse files Browse the repository at this point in the history
Fix issue 12975 - Should use isainfo on Solaris systems to determine model
  • Loading branch information
WalterBright committed Jun 28, 2014
2 parents d245d0d + 1b00a71 commit aa5e8e4
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 aa5e8e4

Please sign in to comment.