Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #57 from basho/jem-arch-naming

Base architecture naming on erlc arch
  • Loading branch information...
commit 898b277177423eef7764528791bac496b08a31e8 2 parents 6b788bc + de9ee3f
@jaredmorrow jaredmorrow authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  Makefile
View
3  Makefile
@@ -43,7 +43,8 @@ endif
ifeq ($(OS),SunOS) # Solaris flavors
KERNELVER = $(shell uname -v | grep -c joyent 2> /dev/null)
-ARCH = $(shell uname -p)
+ARCH = $(shell file `which erlc` | grep -c 64-bit 2> /dev/null | awk \
+ '{if ($$1 == "0") {print "i386"} else {print "x86_64"}}')
ifneq ($(KERNELVER),0) # SmartOS
OSNAME = SmartOS
Please sign in to comment.
Something went wrong with that request. Please try again.