diff options
| author | Samuel John | 2012-12-14 19:03:12 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2013-03-29 11:10:18 -0700 |
| commit | ab562b50b29e5d2cffbca598602a0ff663b1489c (patch) | |
| tree | e7afaf6f7462b966441e5c86438af27c9942b107 /Library | |
| parent | 868d21599563176d8b1d53ca9227b001622d9d7f (diff) | |
| download | homebrew-ab562b50b29e5d2cffbca598602a0ff663b1489c.tar.bz2 | |
superenv: Filter out -isysroot
Closes #16576.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -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(.+)/ |
