From 9f8ce2d93cd848e4e72ec4fd7d7631fcaff734f7 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sat, 17 Aug 2013 10:48:35 +0200 Subject: [PATCH] gcc 4: add missing cc symlink --- sys-devel/gcc/gcc-4.7.3_2013_08_12.recipe | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sys-devel/gcc/gcc-4.7.3_2013_08_12.recipe b/sys-devel/gcc/gcc-4.7.3_2013_08_12.recipe index b0647b151..d713aa937 100644 --- a/sys-devel/gcc/gcc-4.7.3_2013_08_12.recipe +++ b/sys-devel/gcc/gcc-4.7.3_2013_08_12.recipe @@ -10,7 +10,7 @@ SRC_URI=" git+file://$portBaseDir/../binutils/download/BuildtoolsPM.git#2d0a2c6404ffae1a46eb7e74daab08099b45af2c git+git://github.com/haiku/BuildtoolsPM.git#2d0a2c6404ffae1a46eb7e74daab08099b45af2c " -REVISION="1" +REVISION="2" ARCHITECTURES="x86" if [ $effectiveTargetArchitecture != x86_gcc2 ]; then # x86_gcc2 is fine as primary target architecture as long as we're building @@ -116,9 +116,12 @@ INSTALL() echo "Creating required symlinks" + # create missing cc symlink + ln -sf gcc $installDir/bin/cc + # make all tools available via default paths mkdir -p $binDir - for f in c++ cpp g++ gcc gcov; do + for f in c++ cc cpp g++ gcc gcov; do symlinkRelative -sfn $installDir/bin/$f $binDir done