Skip to content

Commit

Permalink
Base architecture naming on erlc arch
Browse files Browse the repository at this point in the history
Addresses: basho/node_packge#56
  • Loading branch information
jaredmorrow committed May 17, 2013
1 parent 6b788bc commit de9ee3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit de9ee3f

Please sign in to comment.