aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSamuel John2012-12-14 19:03:12 +0100
committerAdam Vandenberg2013-03-29 11:10:18 -0700
commitab562b50b29e5d2cffbca598602a0ff663b1489c (patch)
treee7afaf6f7462b966441e5c86438af27c9942b107 /Library
parent868d21599563176d8b1d53ca9227b001622d9d7f (diff)
downloadhomebrew-ab562b50b29e5d2cffbca598602a0ff663b1489c.tar.bz2
superenv: Filter out -isysroot
Closes #16576. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/ENV/4.3/cc3
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(.+)/