We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6b788bc + de9ee3f commit 898b277Copy full SHA for 898b277
Makefile
@@ -43,7 +43,8 @@ endif
43
44
ifeq ($(OS),SunOS) # Solaris flavors
45
KERNELVER = $(shell uname -v | grep -c joyent 2> /dev/null)
46
-ARCH = $(shell uname -p)
+ARCH = $(shell file `which erlc` | grep -c 64-bit 2> /dev/null | awk \
47
+ '{if ($$1 == "0") {print "i386"} else {print "x86_64"}}')
48
49
ifneq ($(KERNELVER),0) # SmartOS
50
OSNAME = SmartOS
0 commit comments