Fix #2770 Compile the OS X pkg as ia32
authorisaacs <i@izs.me>
Fri, 17 Feb 2012 18:08:40 +0000 (10:08 -0800)
committerisaacs <i@izs.me>
Fri, 17 Feb 2012 20:39:45 +0000 (12:39 -0800)
Makefile

index 2a6b70b..1609495 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -173,8 +173,8 @@ pkg: $(PKG)
 
 $(PKG):
        -rm -rf $(PKGDIR)
-       $(WAF) configure --prefix=/usr/local --without-snapshot
-       DESTDIR=$(PKGDIR) $(WAF) install
+       $(WAF) configure --prefix=/usr/local --without-snapshot --dest-cpu=ia32
+       CFLAGS=-m32 DESTDIR=$(PKGDIR) $(WAF) install
        $(packagemaker) \
                --id "org.nodejs.NodeJS-$(VERSION)" \
                --doc tools/osx-pkg.pmdoc \