diff options
| author | Samuel John | 2012-12-14 19:03:12 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2013-03-29 11:10:18 -0700 |
| commit | 261ca7aa6a3f1b7ad9a00a08149665fea3a554be (patch) | |
| tree | a9a0dfd4d3c67b703ffeb040e4e7f8c86c8a79de /Library/ENV/4.3 | |
| parent | da5a4223e88e5ffd78110b34255e011205f4632f (diff) | |
| download | brew-261ca7aa6a3f1b7ad9a00a08149665fea3a554be.tar.bz2 | |
superenv: Filter out -isysroot
Closes Homebrew/homebrew#16576.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/ENV/4.3')
| -rwxr-xr-x | Library/ENV/4.3/cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index 13bb08658..85f57817d 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -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(.+)/ |
