Always build bottles universally.

This commit is contained in:
Mike McQuaid 2012-03-07 22:42:28 -05:00
parent 552dcdc703
commit 6d940a5bcc
2 changed files with 3 additions and 1 deletions

View File

@ -85,7 +85,7 @@ module HomebrewArgvExtension
end
def build_universal?
include? '--universal'
include? '--universal' or build_bottle?
end
# Request a 32-bit only build.

View File

@ -377,7 +377,9 @@ Please take one of the following actions:
append flags, xarch unless xarch.empty?
if ARGV.build_bottle?
ohai "Building a universal bottle."
append flags, '-mtune=' + map.fetch(:bottle) if map.has_key? :bottle
universal_binary
else
# Don't set -msse3 and older flags because -march does that for us
append flags, '-march=' + map.fetch(Hardware.intel_family, default)