cross/gcc-*: upgrade to 10.2.1_pre1-r4
This commit is contained in:
parent
14ecfb8ead
commit
157dd0aa75
3 changed files with 42 additions and 15 deletions
|
@ -31,7 +31,7 @@ pkgver=10.2.1_pre1
|
||||||
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
||||||
|
|
||||||
pkgname=gcc-aarch64
|
pkgname=gcc-aarch64
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
pkgdesc="Stage2 cross-compiler for aarch64"
|
pkgdesc="Stage2 cross-compiler for aarch64"
|
||||||
url="https://gcc.gnu.org"
|
url="https://gcc.gnu.org"
|
||||||
arch="x86_64"
|
arch="x86_64"
|
||||||
|
@ -170,7 +170,7 @@ if $LANG_FORTRAN; then
|
||||||
_languages="$_languages,fortran"
|
_languages="$_languages,fortran"
|
||||||
fi
|
fi
|
||||||
if $LANG_ADA; then
|
if $LANG_ADA; then
|
||||||
subpackages="$subpackages libgnat::$CTARGET_ARCH gcc-gnat$_target:gnat"
|
subpackages="$subpackages libgnat-static:libgnatstatic:$CTARGET_ARCH libgnat::$CTARGET_ARCH gcc-gnat$_target:gnat"
|
||||||
_languages="$_languages,ada"
|
_languages="$_languages,ada"
|
||||||
[ "$CBUILD" = "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat-bootstrap"
|
[ "$CBUILD" = "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat-bootstrap"
|
||||||
[ "$CBUILD" != "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat gcc-gnat$_cross"
|
[ "$CBUILD" != "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat gcc-gnat$_cross"
|
||||||
|
@ -395,14 +395,16 @@ package() {
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
paxmark -pmrs "$pkgdir"/$_gcclibexec/cc1
|
|
||||||
|
|
||||||
# move ada runtime libs
|
# move ada runtime libs
|
||||||
if $LANG_ADA; then
|
if $LANG_ADA; then
|
||||||
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.so"); do
|
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.so"); do
|
||||||
mv "$i" "$pkgdir"/usr/lib/
|
mv "$i" "$pkgdir"/usr/lib/
|
||||||
ln -s ../../../../${i##*/} $i
|
ln -s ../../../../${i##*/} $i
|
||||||
done
|
done
|
||||||
|
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.a"); do
|
||||||
|
mv "$i" "$pkgdir"/usr/lib/
|
||||||
|
ln -s ../../../../${i##*/} $i
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$CHOST" != "$CTARGET" ]; then
|
if [ "$CHOST" != "$CTARGET" ]; then
|
||||||
|
@ -487,7 +489,6 @@ gpp() {
|
||||||
"$subpkgdir"/usr/${_target:+$CTARGET/}lib \
|
"$subpkgdir"/usr/${_target:+$CTARGET/}lib \
|
||||||
|
|
||||||
mv "$pkgdir/$_gcclibexec/cc1plus" "$subpkgdir/$_gcclibexec/"
|
mv "$pkgdir/$_gcclibexec/cc1plus" "$subpkgdir/$_gcclibexec/"
|
||||||
paxmark -pmrs "$subpkgdir/$_gcclibexec/cc1plus"
|
|
||||||
|
|
||||||
mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/*++* "$subpkgdir"/usr/${_target:+$CTARGET/}lib/
|
mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/*++* "$subpkgdir"/usr/${_target:+$CTARGET/}lib/
|
||||||
mv "$pkgdir"/usr/${_target:+$CTARGET/}include/c++ "$subpkgdir"/usr/${_target:+$CTARGET/}include/
|
mv "$pkgdir"/usr/${_target:+$CTARGET/}include/c++ "$subpkgdir"/usr/${_target:+$CTARGET/}include/
|
||||||
|
@ -644,6 +645,14 @@ libgnat() {
|
||||||
mv "$pkgdir"/usr/lib/libgna*.so "$subpkgdir"/usr/lib/
|
mv "$pkgdir"/usr/lib/libgna*.so "$subpkgdir"/usr/lib/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
libgnatstatic() {
|
||||||
|
pkgdesc="GNU Ada static libraries"
|
||||||
|
depends=
|
||||||
|
|
||||||
|
mkdir -p "$subpkgdir"/usr/lib
|
||||||
|
mv "$pkgdir"/usr/lib/libgna*.a "$subpkgdir"/usr/lib/
|
||||||
|
}
|
||||||
|
|
||||||
gnat() {
|
gnat() {
|
||||||
pkgdesc="Ada support for GCC"
|
pkgdesc="Ada support for GCC"
|
||||||
depends="gcc=$_gccrel"
|
depends="gcc=$_gccrel"
|
||||||
|
|
|
@ -31,7 +31,7 @@ pkgver=10.2.1_pre1
|
||||||
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
||||||
|
|
||||||
pkgname=gcc-armhf
|
pkgname=gcc-armhf
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
pkgdesc="Stage2 cross-compiler for armhf"
|
pkgdesc="Stage2 cross-compiler for armhf"
|
||||||
url="https://gcc.gnu.org"
|
url="https://gcc.gnu.org"
|
||||||
arch="x86_64"
|
arch="x86_64"
|
||||||
|
@ -170,7 +170,7 @@ if $LANG_FORTRAN; then
|
||||||
_languages="$_languages,fortran"
|
_languages="$_languages,fortran"
|
||||||
fi
|
fi
|
||||||
if $LANG_ADA; then
|
if $LANG_ADA; then
|
||||||
subpackages="$subpackages libgnat::$CTARGET_ARCH gcc-gnat$_target:gnat"
|
subpackages="$subpackages libgnat-static:libgnatstatic:$CTARGET_ARCH libgnat::$CTARGET_ARCH gcc-gnat$_target:gnat"
|
||||||
_languages="$_languages,ada"
|
_languages="$_languages,ada"
|
||||||
[ "$CBUILD" = "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat-bootstrap"
|
[ "$CBUILD" = "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat-bootstrap"
|
||||||
[ "$CBUILD" != "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat gcc-gnat$_cross"
|
[ "$CBUILD" != "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat gcc-gnat$_cross"
|
||||||
|
@ -395,14 +395,16 @@ package() {
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
paxmark -pmrs "$pkgdir"/$_gcclibexec/cc1
|
|
||||||
|
|
||||||
# move ada runtime libs
|
# move ada runtime libs
|
||||||
if $LANG_ADA; then
|
if $LANG_ADA; then
|
||||||
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.so"); do
|
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.so"); do
|
||||||
mv "$i" "$pkgdir"/usr/lib/
|
mv "$i" "$pkgdir"/usr/lib/
|
||||||
ln -s ../../../../${i##*/} $i
|
ln -s ../../../../${i##*/} $i
|
||||||
done
|
done
|
||||||
|
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.a"); do
|
||||||
|
mv "$i" "$pkgdir"/usr/lib/
|
||||||
|
ln -s ../../../../${i##*/} $i
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$CHOST" != "$CTARGET" ]; then
|
if [ "$CHOST" != "$CTARGET" ]; then
|
||||||
|
@ -487,7 +489,6 @@ gpp() {
|
||||||
"$subpkgdir"/usr/${_target:+$CTARGET/}lib \
|
"$subpkgdir"/usr/${_target:+$CTARGET/}lib \
|
||||||
|
|
||||||
mv "$pkgdir/$_gcclibexec/cc1plus" "$subpkgdir/$_gcclibexec/"
|
mv "$pkgdir/$_gcclibexec/cc1plus" "$subpkgdir/$_gcclibexec/"
|
||||||
paxmark -pmrs "$subpkgdir/$_gcclibexec/cc1plus"
|
|
||||||
|
|
||||||
mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/*++* "$subpkgdir"/usr/${_target:+$CTARGET/}lib/
|
mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/*++* "$subpkgdir"/usr/${_target:+$CTARGET/}lib/
|
||||||
mv "$pkgdir"/usr/${_target:+$CTARGET/}include/c++ "$subpkgdir"/usr/${_target:+$CTARGET/}include/
|
mv "$pkgdir"/usr/${_target:+$CTARGET/}include/c++ "$subpkgdir"/usr/${_target:+$CTARGET/}include/
|
||||||
|
@ -644,6 +645,14 @@ libgnat() {
|
||||||
mv "$pkgdir"/usr/lib/libgna*.so "$subpkgdir"/usr/lib/
|
mv "$pkgdir"/usr/lib/libgna*.so "$subpkgdir"/usr/lib/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
libgnatstatic() {
|
||||||
|
pkgdesc="GNU Ada static libraries"
|
||||||
|
depends=
|
||||||
|
|
||||||
|
mkdir -p "$subpkgdir"/usr/lib
|
||||||
|
mv "$pkgdir"/usr/lib/libgna*.a "$subpkgdir"/usr/lib/
|
||||||
|
}
|
||||||
|
|
||||||
gnat() {
|
gnat() {
|
||||||
pkgdesc="Ada support for GCC"
|
pkgdesc="Ada support for GCC"
|
||||||
depends="gcc=$_gccrel"
|
depends="gcc=$_gccrel"
|
||||||
|
|
|
@ -31,7 +31,7 @@ pkgver=10.2.1_pre1
|
||||||
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
||||||
|
|
||||||
pkgname=gcc-armv7
|
pkgname=gcc-armv7
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
pkgdesc="Stage2 cross-compiler for armv7"
|
pkgdesc="Stage2 cross-compiler for armv7"
|
||||||
url="https://gcc.gnu.org"
|
url="https://gcc.gnu.org"
|
||||||
arch="x86_64"
|
arch="x86_64"
|
||||||
|
@ -170,7 +170,7 @@ if $LANG_FORTRAN; then
|
||||||
_languages="$_languages,fortran"
|
_languages="$_languages,fortran"
|
||||||
fi
|
fi
|
||||||
if $LANG_ADA; then
|
if $LANG_ADA; then
|
||||||
subpackages="$subpackages libgnat::$CTARGET_ARCH gcc-gnat$_target:gnat"
|
subpackages="$subpackages libgnat-static:libgnatstatic:$CTARGET_ARCH libgnat::$CTARGET_ARCH gcc-gnat$_target:gnat"
|
||||||
_languages="$_languages,ada"
|
_languages="$_languages,ada"
|
||||||
[ "$CBUILD" = "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat-bootstrap"
|
[ "$CBUILD" = "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat-bootstrap"
|
||||||
[ "$CBUILD" != "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat gcc-gnat$_cross"
|
[ "$CBUILD" != "$CTARGET" ] && makedepends_build="$makedepends_build gcc-gnat gcc-gnat$_cross"
|
||||||
|
@ -395,14 +395,16 @@ package() {
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
paxmark -pmrs "$pkgdir"/$_gcclibexec/cc1
|
|
||||||
|
|
||||||
# move ada runtime libs
|
# move ada runtime libs
|
||||||
if $LANG_ADA; then
|
if $LANG_ADA; then
|
||||||
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.so"); do
|
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.so"); do
|
||||||
mv "$i" "$pkgdir"/usr/lib/
|
mv "$i" "$pkgdir"/usr/lib/
|
||||||
ln -s ../../../../${i##*/} $i
|
ln -s ../../../../${i##*/} $i
|
||||||
done
|
done
|
||||||
|
for i in $(find "$pkgdir"/$_gcclibdir/adalib/ -type f -maxdepth 1 -name "libgna*.a"); do
|
||||||
|
mv "$i" "$pkgdir"/usr/lib/
|
||||||
|
ln -s ../../../../${i##*/} $i
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$CHOST" != "$CTARGET" ]; then
|
if [ "$CHOST" != "$CTARGET" ]; then
|
||||||
|
@ -487,7 +489,6 @@ gpp() {
|
||||||
"$subpkgdir"/usr/${_target:+$CTARGET/}lib \
|
"$subpkgdir"/usr/${_target:+$CTARGET/}lib \
|
||||||
|
|
||||||
mv "$pkgdir/$_gcclibexec/cc1plus" "$subpkgdir/$_gcclibexec/"
|
mv "$pkgdir/$_gcclibexec/cc1plus" "$subpkgdir/$_gcclibexec/"
|
||||||
paxmark -pmrs "$subpkgdir/$_gcclibexec/cc1plus"
|
|
||||||
|
|
||||||
mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/*++* "$subpkgdir"/usr/${_target:+$CTARGET/}lib/
|
mv "$pkgdir"/usr/${_target:+$CTARGET/}lib/*++* "$subpkgdir"/usr/${_target:+$CTARGET/}lib/
|
||||||
mv "$pkgdir"/usr/${_target:+$CTARGET/}include/c++ "$subpkgdir"/usr/${_target:+$CTARGET/}include/
|
mv "$pkgdir"/usr/${_target:+$CTARGET/}include/c++ "$subpkgdir"/usr/${_target:+$CTARGET/}include/
|
||||||
|
@ -644,6 +645,14 @@ libgnat() {
|
||||||
mv "$pkgdir"/usr/lib/libgna*.so "$subpkgdir"/usr/lib/
|
mv "$pkgdir"/usr/lib/libgna*.so "$subpkgdir"/usr/lib/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
libgnatstatic() {
|
||||||
|
pkgdesc="GNU Ada static libraries"
|
||||||
|
depends=
|
||||||
|
|
||||||
|
mkdir -p "$subpkgdir"/usr/lib
|
||||||
|
mv "$pkgdir"/usr/lib/libgna*.a "$subpkgdir"/usr/lib/
|
||||||
|
}
|
||||||
|
|
||||||
gnat() {
|
gnat() {
|
||||||
pkgdesc="Ada support for GCC"
|
pkgdesc="Ada support for GCC"
|
||||||
depends="gcc=$_gccrel"
|
depends="gcc=$_gccrel"
|
||||||
|
|
Loading…
Reference in a new issue