Fix --intel switch
Also renamed --universal, but the --intel switch still works.
This commit is contained in:
parent
096c3f3bfd
commit
f31f154d89
1 changed files with 3 additions and 2 deletions
|
@ -11,7 +11,7 @@ class Python <Formula
|
|||
def options
|
||||
[
|
||||
["--framework", "Do a 'Framework' build instead of a UNIX-style build."],
|
||||
["--intel", "Build for both 32 & 64 bit Intel."]
|
||||
["--universal", "Build for both 32 & 64 bit Intel."]
|
||||
]
|
||||
end
|
||||
|
||||
|
@ -23,7 +23,8 @@ class Python <Formula
|
|||
def install
|
||||
args = ["--prefix=#{prefix}"]
|
||||
args << "--enable-framework" if ARGV.include? '--framework'
|
||||
args << "--with-universal-archs=intel --enable-universalsdk=/" if ARGV.include? '--intel'
|
||||
args << "--with-universal-archs=intel" << "--enable-universalsdk=/" if ARGV.include? '--universal' \
|
||||
or ARGV.include? '--intel' # the old flag, preserved for back-compat
|
||||
|
||||
# Speed up creation of libpython.a, backported from Unladen Swallow:
|
||||
# http://code.google.com/p/unladen-swallow/source/detail?r=856
|
||||
|
|
Loading…
Reference in a new issue