Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit 29c5ecf

Browse files
committed
Merge pull request #17 from boxen/gcc-el-capitan
Add El Capitan GCC 5 patch.
2 parents 24ac552 + effbaba commit 29c5ecf

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

files/brews/gcc5.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,15 @@ def osmajor
3232
sha256 "5cc7eaaab1dd29879109ccf896f91c691ba6267a997288ee526e3f21479a8f02" => :mountain_lion
3333
end
3434

35+
if MacOS.version >= :el_capitan
36+
# Fixes build with Xcode 7.
37+
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66523
38+
patch do
39+
url "https://gcc.gnu.org/bugzilla/attachment.cgi?id=35773"
40+
sha256 "db4966ade190fff4ed39976be8d13e84839098711713eff1d08920d37a58f5ec"
41+
end
42+
end
43+
3544
# GCC's Go compiler is not currently supported on Mac OS X.
3645
# See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986
3746
option "with-fortran", "Build the gfortran compiler"

0 commit comments

Comments
 (0)