Skip to content

Commit

Permalink
Merge pull request #3686 from jasonbking/issue_12962
Browse files Browse the repository at this point in the history
Fix issue 12962 - use isainfo on Solaris to determine model
  • Loading branch information
WalterBright committed Jun 23, 2014
2 parents 514db2e + 6c5c5a9 commit dd45b50
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/osmodel.mak
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ ifeq (MACOS,$(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 dd45b50

Please sign in to comment.