aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/python.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/python.rb')
-rw-r--r--Library/Formula/python.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/python.rb b/Library/Formula/python.rb
index 20469bb06..0f96ab09c 100644
--- a/Library/Formula/python.rb
+++ b/Library/Formula/python.rb
@@ -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