Makefile: allow the dest-cpu to be specified for make binary

Needed for 64-bit Solaris, and 32-bit OS X
This commit is contained in:
Nathan Rajlich committed 2012-08-06 11:40:44 -07:00
1 parent eadc2ec5c8
commit dc9ae01ef7
1 file changed
+1 -1
+1 -1
View File
@@ -265,7 +265,7 @@ tar: $(TARBALL)
$(BINARYTAR):
rm -rf $(BINARYNAME)
rm -rf out/deps out/Release
./configure --prefix=/ --without-snapshot
./configure --prefix=/ --without-snapshot --dest-cpu=$(DESTCPU)
$(MAKE) install DESTDIR=$(BINARYNAME) V=$(V) PORTABLE=1
cp README.md $(BINARYNAME)
cp LICENSE $(BINARYNAME)