gcc: use new method to avoid building info files.

Closes #7999.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Mike McQuaid 2017-01-01 13:21:15 +00:00
parent 81bd275d61
commit fa22e5aad5

View file

@ -111,6 +111,11 @@ class Gcc < Formula
languages -= ["java"] if build.head?
# Even when suffixes are appended, the info pages conflict when
# install-info is run so pretend we have an outdated makeinfo
# to prevent their build.
ENV["gcc_cv_prog_makeinfo_modern"] = "no"
args = [
"--build=#{arch}-apple-darwin#{osmajor}",
"--prefix=#{prefix}",
@ -133,9 +138,6 @@ class Gcc < Formula
"--disable-werror",
"--with-pkgversion=Homebrew GCC #{pkg_version} #{build.used_options*" "}".strip,
"--with-bugurl=https://github.com/Homebrew/homebrew-core/issues",
# Even when suffixes are appended, the info pages conflict when
# install-info is run.
"MAKEINFO=missing",
]
# "Building GCC with plugin support requires a host that supports