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 2012-08-04 12:24:34 -07:00
parent eadc2ec5c8
commit dc9ae01ef7

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)