Bazaar - don't use Intel flags when building against system Python.

This commit is contained in:
Adam Vandenberg 2010-04-16 09:41:25 -07:00
parent 7c246b0613
commit 803e9b9dc9

View file

@ -8,6 +8,12 @@ class Bazaar <Formula
aka :bzr
def install
# Find the archs of the Python we are building against.
# If the python includes PPC support, then don't use Intel-
# specific compiler flags
archs = archs_for_command("python")
ENV.minimal_optimization if archs.include? :ppc64 or archs.include? :ppc7400
# Make the manual before we install (mv) bzrlib
system "make man1/bzr.1"
man1.install gzip('man1/bzr.1')