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