Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Base architecture naming on erlc arch

Addresses: basho/node_packge#56
  • Loading branch information...
commit de9ee3f77368efd1d8e0e1468725cfcc54bb68f7 1 parent 6b788bc
@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.