gcc 2: fix recipe

* Use current source revision.
* Copy and paste error in INSTALL(): installDir was used instead of
  gccInstallDir. Notsure why the bootstrap recipe and this one use
  different variable names.
* Fix stdc++ library symlink when built for secondary architecture.
This commit is contained in:
Ingo Weinhold
2013-08-21 16:03:42 +02:00
parent 3033898201
commit e8da29bb1a

View File

@@ -7,8 +7,8 @@ LICENSE="
"
COPYRIGHT="1988-2000 Free Software Foundation, Inc."
SRC_URI="
git+file://$portBaseDir/../binutils/download/BuildtoolsPM.git#2d0a2c6404ffae1a46eb7e74daab08099b45af2c
git+git://github.com/haiku/BuildtoolsPM.git#2d0a2c6404ffae1a46eb7e74daab08099b45af2c
git+file://$portBaseDir/../binutils/download/BuildtoolsPM.git#6ff546f23b0259bcd27550aa6ad8aaef89fd1bf6
git+git://github.com/haiku/BuildtoolsPM.git#6ff546f23b0259bcd27550aa6ad8aaef89fd1bf6
"
REVISION="2"
ARCHITECTURES="x86_gcc2"
@@ -123,7 +123,7 @@ INSTALL()
# make all tools available via default paths
echo "Symlinking binaries into default path"
mkdir -p $binDir
symlinkRelative -s $installDir/bin/* $binDir
symlinkRelative -s $gccInstallDir/bin/* $binDir
### Strip #################################################
@@ -150,5 +150,5 @@ INSTALL()
rm -rf $gccInstallDir/include/g++
ln -snf /boot/system/develop/headers/c++/2.95.3 $gccInstallDir/include/g++
ln -snf /boot/system/lib/libstdc++.r4.so $gccInstallDir/lib/
ln -snf /boot/system/lib$secondaryArchSubDir/libstdc++.r4.so $gccInstallDir/lib/
}