Skip to content
Snippets Groups Projects
Commit 1bcd428b authored by Jack Nagel's avatar Jack Nagel
Browse files

Fix superenv arch flag handling

Fixes Homebrew/homebrew#21943.
parent 1333b8d6
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment