superenv: Filter out -isysroot
Closes Homebrew/homebrew#16576. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
da5a4223e8
commit
261ca7aa6a
@ -119,6 +119,9 @@ class Cmd
|
||||
args << arg if arg =~ /^-W[alp],/
|
||||
when '-macosx_version_min', '-dylib_install_name'
|
||||
args << "-Wl,#{arg},#{whittler.next}"
|
||||
when /^-isysroot/
|
||||
# We set the sysroot
|
||||
whittler.next
|
||||
when '-dylib'
|
||||
args << "-Wl,#{arg}"
|
||||
when /^-I(.+)/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user