From fb28f6dfafaf9a6c05ab3f4663819a94c5b1413d Mon Sep 17 00:00:00 2001 From: commitay Date: Fri, 21 Sep 2018 13:51:57 +1000 Subject: [PATCH] gcc: fix component order --- Formula/gcc.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Formula/gcc.rb b/Formula/gcc.rb index 32307a4c8c..f14079dc88 100644 --- a/Formula/gcc.rb +++ b/Formula/gcc.rb @@ -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"