aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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(.+)/