aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV
diff options
context:
space:
mode:
authorJack Nagel2013-11-20 12:54:34 -0600
committerJack Nagel2013-11-20 13:19:14 -0600
commit28c9e3b866d6c19b2cb01d5e6a3df88c9a3f6da2 (patch)
tree2b52a4581a3374729ca8878f76e59d26bf624a55 /Library/ENV
parentcee5e1296b637914d2af5882f34cbdd23a06f017 (diff)
downloadhomebrew-28c9e3b866d6c19b2cb01d5e6a3df88c9a3f6da2.tar.bz2
Simplify passing archflags to cc wrapper
Diffstat (limited to 'Library/ENV')
-rwxr-xr-xLibrary/ENV/4.3/cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index 92b09a48c..59a52b02d 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -189,7 +189,7 @@ class Cmd
end
def archflags
args = []
- ENV['HOMEBREW_ARCHS'].split(',').each { |a| args << "-arch" << a } if cccfg? 'u'
+ args.concat ENV['HOMEBREW_ARCHFLAGS'].split(' ') if cccfg? 'u'
args
end
def syslibpath