From cb1bf53f065793d746e697edf35e80fc60d4e9dd Mon Sep 17 00:00:00 2001 From: Jessica Hamilton Date: Mon, 16 Jul 2018 03:36:12 +0000 Subject: [PATCH] gcc: add gcc-{ar,nm,ranlib} to $binDir, needed for LTO to work. --- sys-devel/gcc/gcc-7.3.0_2018_05_01.recipe | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-devel/gcc/gcc-7.3.0_2018_05_01.recipe b/sys-devel/gcc/gcc-7.3.0_2018_05_01.recipe index 87c4665a1..b40a325a6 100644 --- a/sys-devel/gcc/gcc-7.3.0_2018_05_01.recipe +++ b/sys-devel/gcc/gcc-7.3.0_2018_05_01.recipe @@ -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