Skip to content
Snippets Groups Projects
Unverified Commit 27f31bcc authored by Oliver Smith's avatar Oliver Smith
Browse files

main/gcc6: symlink for objcopy is also required

With this commit, pmbootstrap!1699 and a few changes in a linux aport,
it finally compiled successfully with gcc6 \o/

Details described in #103.
parent 459ad05a
No related branches found
No related tags found
No related merge requests found
Pipeline #192208 passed
pkgname=gcc6
pkgver=6.4.0
pkgrel=1
pkgrel=2
pkgdesc="Old GCC for old vendor kernels (C compiler only)"
url="http://gcc.gnu.org"
arch="all"
......@@ -401,7 +401,7 @@ package() {
# Link binutils to gcc6-* (so 'CROSS_COMPILE=gcc6-...' works)
echo "Link binutils to gcc6-*"
mkdir -p "$pkgdir/usr/bin"
for i in "ld" "ar" "nm"; do
for i in "ld" "ar" "nm" "objcopy"; do
ln -sv "/usr/bin/$CTARGET-$i" \
"$pkgdir/usr/bin/gcc6-$CTARGET-$i"
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment