Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
gcc: use patch for El Capitan.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Jun 19, 2015
1 parent 3feb508 commit 3291699
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Library/Formula/gcc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ def osmajor
sha256 "77bce635f78bc26bd01010b5ece480251af223bf2dba6d48c29af6b29b441296" => :mountain_lion
end

if MacOS.version >= :el_capitan
# Fixes build with Xcode 7.
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66523
patch do
url "https://gcc.gnu.org/bugzilla/attachment.cgi?id=35773"
sha256 "db4966ade190fff4ed39976be8d13e84839098711713eff1d08920d37a58f5ec"
end
end

option "with-java", "Build the gcj compiler"
option "with-all-languages", "Enable all compilers and languages, except Ada"
option "with-nls", "Build with native language support (localization)"
Expand Down

0 comments on commit 3291699

Please sign in to comment.