aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMisty De Meo2013-08-02 22:28:55 -0700
committerMisty De Meo2013-08-15 22:46:57 -0700
commit5ca53b01054ffc62d805b052ff69bcb7084f1c24 (patch)
tree74950b09206712ab07c823bf8afd7e0e97c066b8 /Library/Homebrew
parent450456caf38a92ccda139bcd8d0e3fcaf00e8429 (diff)
downloadhomebrew-5ca53b01054ffc62d805b052ff69bcb7084f1c24.tar.bz2
superenv: use Hardware::CPU.universal_archs
This defines the new HOMEBREW_ARCHS environment variable, which is currently only set during universal builds, so that the tool wrappers no longer need to hardcode i386/x86_64.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/superenv.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/superenv.rb b/Library/Homebrew/superenv.rb
index ace71a33f..31f6da620 100644
--- a/Library/Homebrew/superenv.rb
+++ b/Library/Homebrew/superenv.rb
@@ -86,6 +86,7 @@ class << ENV
end
def universal_binary
+ ENV['HOMEBREW_ARCHS'] = Hardware::CPU.universal_archs.join(',')
append 'HOMEBREW_CCCFG', "u", ''
end