diff options
author | Nathan Rajlich <nathan@tootallnate.net> | 2012-08-04 12:39:54 -0700 |
---|---|---|
committer | Nathan Rajlich <nathan@tootallnate.net> | 2012-08-06 11:40:44 -0700 |
commit | 8b11f29cf3881cdc0e1e1a553c543f561128daed (patch) | |
tree | 3ca1876445a9190e541ffe00f9f369b312d03a0e /Makefile | |
parent | dc9ae01ef7a6fcafd82b306d80b9f715d72ed670 (diff) | |
download | node-new-8b11f29cf3881cdc0e1e1a553c543f561128daed.tar.gz |
Makefile: properly set the ARCH variable when forcing a DESTCPU
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -193,7 +193,15 @@ docclean: VERSION=v$(shell $(PYTHON) tools/getnodeversion.py) PLATFORM=$(shell uname | tr '[:upper:]' '[:lower:]') +ifeq ($(DESTCPU),x64) +ARCH=x86_64 +else +ifeq ($(DESTCPU),ia32) +ARCH=i386 +else ARCH=$(shell uname -m) +endif +endif TARNAME=node-$(VERSION) TARBALL=$(TARNAME).tar.gz BINARYNAME=$(TARNAME)-$(PLATFORM)-$(ARCH) |