aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV
diff options
context:
space:
mode:
Diffstat (limited to 'Library/ENV')
-rwxr-xr-xLibrary/ENV/4.3/cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index 26468cdfa..42771a4d0 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -33,7 +33,7 @@ class Cmd
@args = args.freeze
@brewfix = ENV['HOMEBREW_PREFIX']
@brewtmp = ENV['HOMEBREW_TEMP']
- @sysroot = ENV['HOMEBREW_SYSROOT']
+ @sysroot = ENV['HOMEBREW_SDKROOT']
end
def mode
@@ -93,7 +93,7 @@ class Cmd
if tool == "ld"
args << "-syslibroot" << sysroot
else
- args << "--sysroot=#{sysroot}"
+ args << "-isysroot" << sysroot << "--sysroot=#{sysroot}"
end
end