diff options
| author | Jack Nagel | 2013-08-16 20:46:02 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-08-16 20:46:03 -0500 |
| commit | 7a0aa821829002fff04c2b6e4e88ef780ab78784 (patch) | |
| tree | 2f83cc5f0e232a81d30bcd2671ecc8f63eb66f72 /Library | |
| parent | bf3dea328e00bdfa98725d212dfe8baedae7f78a (diff) | |
| download | homebrew-7a0aa821829002fff04c2b6e4e88ef780ab78784.tar.bz2 | |
Fix superenv arch flag handling
Fixes #21943.
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/ENV/4.3/cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index 561df96d7..62194c8dd 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -165,7 +165,7 @@ class Cmd args << '-march=native' if tool =~ /clang/ end - args += ENV['HOMEBREW_ARCHS'].split(',').map {|a| "-arch #{a}"} if cccfg? 'u' + ENV['HOMEBREW_ARCHS'].split(',').each { |a| args << "-arch" << a } if cccfg? 'u' args << "-std=#{@arg0}" if @arg0 =~ /c[89]9/ args end |
