From 9c6d5a061e61ee0dd6f786b5b9f4d9f9971bcdd7 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 24 Jan 2019 13:57:00 +0000 Subject: [PATCH] gcc: reduce bottle deviations. --- Formula/gcc.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Formula/gcc.rb b/Formula/gcc.rb index 6be0bff45b..1957d2830f 100644 --- a/Formula/gcc.rb +++ b/Formula/gcc.rb @@ -93,15 +93,10 @@ class Gcc < Formula system "../configure", *args - make_args = [] # Use -headerpad_max_install_names in the build, # otherwise updated load commands won't fit in the Mach-O header. # This is needed because `gcc` avoids the superenv shim. - if build.bottle? - make_args << "BOOT_LDFLAGS=-Wl,-headerpad_max_install_names" - end - - system "make", *make_args + system "make", "BOOT_LDFLAGS=-Wl,-headerpad_max_install_names" system "make", "install" bin.install_symlink bin/"gfortran-#{version_suffix}" => "gfortran"