Skip to content

Commit

Permalink
Merge pull request #2757 from redstar/solaris_make
Browse files Browse the repository at this point in the history
Change model detection on Solaris.
  • Loading branch information
H. S. Teoh committed Nov 21, 2014
2 parents daaa7c7 + a086409 commit 93bd853
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion posix.mak
Expand Up @@ -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
Expand Down

0 comments on commit 93bd853

Please sign in to comment.