diff options
| author | Jack Nagel | 2014-05-21 10:14:26 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-21 10:14:26 -0500 |
| commit | b1999de1a6f135c0052c8389e4540fe6423fe0ad (patch) | |
| tree | 00ad5ac16a36db7ebcd89e5fa1f6aff84a59ce8d /Library/Formula | |
| parent | 68dc2e3c8ca7ba24d329972cfae7437b81eef01b (diff) | |
| download | homebrew-b1999de1a6f135c0052c8389e4540fe6423fe0ad.tar.bz2 | |
gcc: don't use bottles on Xcode-only systems
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gcc.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/gcc.rb b/Library/Formula/gcc.rb index 68622c82b..761c3fc5a 100644 --- a/Library/Formula/gcc.rb +++ b/Library/Formula/gcc.rb @@ -64,6 +64,12 @@ class Gcc < Formula # GCC bootstraps itself, so it is OK to have an incompatible C++ stdlib cxxstdlib_check :skip + # The bottles are built on systems with the CLT installed, and do not work + # out of the box on Xcode-only systems due to an incorrect sysroot. + def pour_bottle? + MacOS::CLT.installed? + end + def install # GCC will suffer build errors if forced to use a particular linker. ENV.delete "LD" |
