gcc 4: add missing cc symlink

This commit is contained in:
Ingo Weinhold
2013-08-17 10:48:35 +02:00
parent 3d8703d1e1
commit 9f8ce2d93c

View File

@@ -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