gcc: fix component order

This commit is contained in:
commitay 2018-09-21 13:51:57 +10:00
parent b3ebf651df
commit fb28f6dfaf

View file

@ -21,6 +21,13 @@ class Gcc < Formula
sha256 "5a51d9f6ab8d14a0b2a37783225cc356f3d68a074f1b814124f00c739475c655" => :el_capitan
end
# The bottles are built on systems with the CLT installed, and do not work
# out of the box on Xcode-only systems due to an incorrect sysroot.
pour_bottle? do
reason "The bottle needs the Xcode CLT to be installed."
satisfy { MacOS::CLT.installed? }
end
option "with-jit", "Build just-in-time compiler"
option "with-nls", "Build with native language support (localization)"
@ -32,13 +39,6 @@ class Gcc < Formula
# GCC bootstraps itself, so it is OK to have an incompatible C++ stdlib
cxxstdlib_check :skip
# The bottles are built on systems with the CLT installed, and do not work
# out of the box on Xcode-only systems due to an incorrect sysroot.
pour_bottle? do
reason "The bottle needs the Xcode CLT to be installed."
satisfy { MacOS::CLT.installed? }
end
def version_suffix
if build.head?
"HEAD"