diff options
| author | Jack Nagel | 2014-05-19 14:18:23 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-19 14:41:03 -0500 |
| commit | 39ee0ec1eef9d0049a3553f852aa6a9a8efb0ba0 (patch) | |
| tree | 62011b85c15be87134c8b24f1d20fe89ad8f0f13 /Library/Homebrew/extend | |
| parent | 8a6c747cbdcd2bb1c4a6f39dc44d967548e7f967 (diff) | |
| download | homebrew-39ee0ec1eef9d0049a3553f852aa6a9a8efb0ba0.tar.bz2 | |
Set sysroot for non-clang compilers on 10.9
Although the correct sysroot is built into Apple's tools on 10.9, we
need to continue setting it for custom compilers.
Diffstat (limited to 'Library/Homebrew/extend')
| -rw-r--r-- | Library/Homebrew/extend/ENV/super.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb index 0c6d10547..18073db46 100644 --- a/Library/Homebrew/extend/ENV/super.rb +++ b/Library/Homebrew/extend/ENV/super.rb @@ -72,7 +72,7 @@ module Superenv # On 10.9 the developer tools honor the correct sysroot by default. # On 10.7 and 10.8 we need to set it ourselves. - if MacOS::Xcode.without_clt? && MacOS.version <= "10.8" + if MacOS::Xcode.without_clt? && (MacOS.version <= "10.8" || compiler != :clang) self["HOMEBREW_SYSROOT"] = effective_sysroot end |
