gcc: add gcc-{ar,nm,ranlib} to $binDir, needed for LTO to work.

This commit is contained in:
Jessica Hamilton
2018-07-16 03:36:12 +00:00
parent 84e4ac6977
commit cb1bf53f06

View File

@@ -5,7 +5,7 @@ HOMEPAGE="https://gcc.gnu.org/"
COPYRIGHT="1988-2018 Free Software Foundation, Inc."
LICENSE="GNU GPL v3
GNU LGPL v3"
REVISION="2"
REVISION="3"
gccVersion="${portVersion%%_*}"
SOURCE_URI="https://ftpmirror.gnu.org/gcc/gcc-$gccVersion/gcc-$gccVersion.tar.xz
https://ftp.gnu.org/gnu/gcc/gcc-$gccVersion/gcc-$gccVersion.tar.xz"
@@ -379,7 +379,7 @@ INSTALL()
# make all tools available via default paths
mkdir -p $binDir
for f in c++ cc cpp g++ gcc gcov gfortran; do
for f in c++ cc cpp g++ gcc gcov gfortran gcc-ar gcc-nm gcc-ranlib; do
symlinkRelative -sfn $installDir/bin/$f $binDir
done