*/gcc6*: properly regenerate aports with aportgen

I did it manually in the previous commit and replaced the wrong for
loop in gcc6-armhf. [skip ci]
This commit is contained in:
Oliver Smith 2018-10-01 18:16:47 +02:00
parent 1b78e64748
commit dd17dc5c06
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
4 changed files with 7 additions and 7 deletions

View File

@ -24,7 +24,7 @@ _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
pkgname="gcc6-aarch64"
pkgver=6.4.0
pkgrel=4
pkgrel=5
pkgdesc="Stage2 cross-compiler for aarch64"
url="http://gcc.gnu.org"
arch="armhf x86_64 x86"

View File

@ -24,7 +24,7 @@ _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
pkgname="gcc6-armhf"
pkgver=6.4.0
pkgrel=4
pkgrel=5
pkgdesc="Stage2 cross-compiler for armhf"
url="http://gcc.gnu.org"
arch="aarch64 x86_64 x86"
@ -413,8 +413,7 @@ package() {
# failing and causes many headaches). See also: '-B' in 'man gcc'.
echo "Link binutils binaries to /usr/gcc6"
mkdir -p "$pkgdir$prefix/$CTARGET/bin"
for i in "elfedit" "gprof" "addr2line" "strings" "as" "ld" "size" "ld.bfd" \
"readelf" "nm" "ar" "strip" "dwp" "objdump" "objcopy" "c++filt" "ranlib"; do
for i in "as" "ld"; do
ln -sv "/usr/$CTARGET/bin/$i" \
"$pkgdir$prefix/$CTARGET/bin/$i"
done
@ -422,7 +421,8 @@ 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" "objcopy" "objdump"; do
for i in "elfedit" "gprof" "addr2line" "strings" "as" "ld" "size" "ld.bfd" \
"readelf" "nm" "ar" "strip" "dwp" "objdump" "objcopy" "c++filt" "ranlib"; do
ln -sv "/usr/bin/$CTARGET-$i" \
"$pkgdir/usr/bin/gcc6-$CTARGET-$i"
done

View File

@ -24,7 +24,7 @@ _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET"
pkgname="gcc6-x86_64"
pkgver=6.4.0
pkgrel=4
pkgrel=5
pkgdesc="Stage2 cross-compiler for x86_64"
url="http://gcc.gnu.org"
arch="armhf aarch64 x86"

View File

@ -1,6 +1,6 @@
pkgname=gcc6
pkgver=6.4.0
pkgrel=4
pkgrel=5
pkgdesc="Old GCC for old vendor kernels (C compiler only)"
url="http://gcc.gnu.org"
arch="all"