gcc: reduce bottle deviations.
This commit is contained in:
parent
b96210f2bd
commit
9c6d5a061e
1 changed files with 1 additions and 6 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue