aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV/4.3
diff options
context:
space:
mode:
authorSamuel John2012-12-14 19:03:12 +0100
committerAdam Vandenberg2013-03-29 11:10:18 -0700
commit261ca7aa6a3f1b7ad9a00a08149665fea3a554be (patch)
treea9a0dfd4d3c67b703ffeb040e4e7f8c86c8a79de /Library/ENV/4.3
parentda5a4223e88e5ffd78110b34255e011205f4632f (diff)
downloadbrew-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-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(.+)/