projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc9ae01
)
Makefile: properly set the ARCH variable when forcing a DESTCPU
author
Nathan Rajlich
<nathan@tootallnate.net>
Sat, 4 Aug 2012 19:39:54 +0000
(12:39 -0700)
committer
Nathan Rajlich
<nathan@tootallnate.net>
Mon, 6 Aug 2012 18:40:44 +0000
(11:40 -0700)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
004d074
..
da07637
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-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)