gcc@5: patch for Xcode 9
This commit is contained in:
parent
3d50f91228
commit
e59fd0356f
1 changed files with 9 additions and 0 deletions
|
@ -60,6 +60,15 @@ class GccAT5 < Formula
|
||||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64089
|
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64089
|
||||||
patch :DATA
|
patch :DATA
|
||||||
|
|
||||||
|
# Fix build with Xcode 9
|
||||||
|
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82091
|
||||||
|
if DevelopmentTools.clang_build_version >= 900
|
||||||
|
patch do
|
||||||
|
url "https://raw.githubusercontent.com/Homebrew/formula-patches/078797f1b9/gcc%405/xcode9.patch"
|
||||||
|
sha256 "e1546823630c516679371856338abcbab381efaf9bd99511ceedcce3cf7c0199"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
def install
|
def install
|
||||||
# GCC will suffer build errors if forced to use a particular linker.
|
# GCC will suffer build errors if forced to use a particular linker.
|
||||||
ENV.delete "LD"
|
ENV.delete "LD"
|
||||||
|
|
Loading…
Reference in a new issue