From: Ronald Oussoren <ronaldoussoren@mac.com>
Date: Tue, 22 Jul 2008 07:06:33 +0000 (+0000)
Subject: Fix build issue on OSX 10.4, somehow this wasn't committed before.
X-Git-Tag: v2.6b3~253
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5aa0b4d766910188e546bbd0eb62bf0e68f77576;p=python

Fix build issue on OSX 10.4, somehow this wasn't committed before.
---

diff --git a/Mac/Makefile.in b/Mac/Makefile.in
index 6a917b7bc8..2a485c61ac 100644
--- a/Mac/Makefile.in
+++ b/Mac/Makefile.in
@@ -217,7 +217,7 @@ install_IDLE:
 	cd IDLE && make install
 
 install_BuildApplet:
-	$(RUNSHARED) arch -ppc -i386 $(BUILDPYTHON) $(srcdir)/scripts/BuildApplet.py \
+	$(RUNSHARED) @ARCH_RUN_32BIT@ $(BUILDPYTHON) $(srcdir)/scripts/BuildApplet.py \
 		--destroot "$(DESTDIR)" \
 		--python=$(prefix)/Resources/Python.app/Contents/MacOS/$(PYTHONFRAMEWORK)`test -f "$(DESTDIR)$(prefix)/Resources/Python.app/Contents/MacOS/$(PYTHONFRAMEWORK)-32" && echo "-32"`  \
 		--output "$(DESTDIR)$(PYTHONAPPSDIR)/Build Applet.app" \
@@ -279,7 +279,7 @@ installmacsubtree:
 	done
 
 
-	$(RUNSHARED) arch -ppc -i386 $(BUILDPYTHON) $(CACHERSRC) -v $(DESTDIR)$(MACLIBDEST) $(DESTDIR)$(MACTOOLSDEST)
+	$(RUNSHARED) @ARCH_RUN_32BIT@ $(BUILDPYTHON) $(CACHERSRC) -v $(DESTDIR)$(MACLIBDEST) $(DESTDIR)$(MACTOOLSDEST)
 	$(RUNSHARED) $(BUILDPYTHON) -Wi -tt $(compileall) -d $(MACTOOLSDEST) -x badsyntax $(DESTDIR)$(MACTOOLSDEST)
 	$(RUNSHARED) $(BUILDPYTHON) -O -Wi -tt $(compileall) -d $(MACTOOLSDEST) -x badsyntax $(DESTDIR)$(MACTOOLSDEST)