Bazaar - don't use Intel flags when building against system Python.
This commit is contained in:
parent
7c246b0613
commit
803e9b9dc9
1 changed files with 6 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue