diff options
| author | Jack Nagel | 2014-05-24 09:47:34 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-24 09:47:34 -0500 |
| commit | 37146c4c60e5edb53dea7e2755a0f8e7045397ed (patch) | |
| tree | cb66af344689d0b853f2e2cff05e6300d3e0cf0d /Library | |
| parent | 42a90116a9866e6d9a0e4ea88bf952b7aedeba98 (diff) | |
| download | homebrew-37146c4c60e5edb53dea7e2755a0f8e7045397ed.tar.bz2 | |
gcc: combine conditionals
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gcc.rb | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/Library/Formula/gcc.rb b/Library/Formula/gcc.rb index 9c7c7c0b6..77614c26b 100644 --- a/Library/Formula/gcc.rb +++ b/Library/Formula/gcc.rb @@ -49,17 +49,18 @@ class Gcc < Formula depends_on "isl" depends_on "ecj" if build.with?("java") || build.with?("all-languages") - # The as that comes with Tiger isn't capable of dealing with the - # PPC asm that comes in libitm - depends_on "cctools" => :build if MacOS.version < :leopard + if MacOS.version < :leopard + # The as that comes with Tiger isn't capable of dealing with the + # PPC asm that comes in libitm + depends_on "cctools" => :build + # GCC 4.8.1 incorrectly determines that _Unwind_GetIPInfo is available on + # Tiger, resulting in a failed build + # Fixed upstream: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58710 + patch :DATA + end fails_with :gcc_4_0 - # GCC 4.8.1 incorrectly determines that _Unwind_GetIPInfo is available on - # Tiger, resulting in a failed build - # Fixed upstream: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58710 - def patches; DATA; end if MacOS.version < :leopard - # GCC bootstraps itself, so it is OK to have an incompatible C++ stdlib cxxstdlib_check :skip |
