cross/gcc-armhf: upgrade to 12.2.1_git20220924-r3 (MR 3541)
This commit is contained in:
parent
192ca97cd5
commit
57d953746e
2 changed files with 13 additions and 7 deletions
|
@ -32,7 +32,7 @@ pkgver=${_pkgbase}_git${_pkgsnap}
|
||||||
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
[ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target=""
|
||||||
|
|
||||||
pkgname=gcc-armhf
|
pkgname=gcc-armhf
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
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"
|
||||||
|
@ -322,10 +322,9 @@ build() {
|
||||||
|
|
||||||
case "$CTARGET_LIBC" in
|
case "$CTARGET_LIBC" in
|
||||||
musl)
|
musl)
|
||||||
# musl does not support mudflap, or libsanitizer
|
# musl does not support libsanitizer
|
||||||
# libmpx uses secure_getenv and struct _libc_fpstate not present in musl
|
|
||||||
# alpine musl provides libssp_nonshared.a, so we don't need libssp either
|
# alpine musl provides libssp_nonshared.a, so we don't need libssp either
|
||||||
_libc_configure="--disable-libssp --disable-libmpx --disable-libmudflap --disable-libsanitizer"
|
_libc_configure="--disable-libssp --disable-libsanitizer"
|
||||||
_symvers="--disable-symvers"
|
_symvers="--disable-symvers"
|
||||||
export libat_cv_have_ifunc=no
|
export libat_cv_have_ifunc=no
|
||||||
;;
|
;;
|
||||||
|
@ -379,7 +378,6 @@ build() {
|
||||||
--enable-__cxa_atexit
|
--enable-__cxa_atexit
|
||||||
--enable-default-pie
|
--enable-default-pie
|
||||||
--enable-default-ssp
|
--enable-default-ssp
|
||||||
--enable-cloog-backend
|
|
||||||
--enable-languages=$_languages
|
--enable-languages=$_languages
|
||||||
$_arch_configure
|
$_arch_configure
|
||||||
$_libc_configure
|
$_libc_configure
|
||||||
|
@ -435,7 +433,6 @@ package() {
|
||||||
# strip debug info from some static libs
|
# strip debug info from some static libs
|
||||||
find "$pkgdir" \( -name libgfortran.a -o -name libobjc.a -o -name libgomp.a \
|
find "$pkgdir" \( -name libgfortran.a -o -name libobjc.a -o -name libgomp.a \
|
||||||
-o -name libgphobos.a -o -name libgdruntime.a \
|
-o -name libgphobos.a -o -name libgdruntime.a \
|
||||||
-o -name libmudflap.a -o -name libmudflapth.a \
|
|
||||||
-o -name libgcc.a -o -name libgcov.a -o -name libquadmath.a \
|
-o -name libgcc.a -o -name libgcov.a -o -name libquadmath.a \
|
||||||
-o -name libitm.a -o -name libgo.a -o -name libcaf\*.a \
|
-o -name libitm.a -o -name libgo.a -o -name libcaf\*.a \
|
||||||
-o -name libatomic.a -o -name libasan.a -o -name libtsan.a \) \
|
-o -name libatomic.a -o -name libasan.a -o -name libtsan.a \) \
|
||||||
|
@ -667,8 +664,9 @@ libgo() {
|
||||||
}
|
}
|
||||||
|
|
||||||
go() {
|
go() {
|
||||||
pkgdesc="Go support for GCC"
|
pkgdesc="GCC Go frontend (intended for bootstrapping community/go)"
|
||||||
depends="gcc=$_gccrel libgo=$_gccrel !go"
|
depends="gcc=$_gccrel libgo=$_gccrel !go"
|
||||||
|
install="$pkgname-go.post-install"
|
||||||
|
|
||||||
# See https://lists.alpinelinux.org/~alpine/devel/%3C33KG0XO61I4IL.2Z7RTAZ5J3SY6%408pit.net%3E
|
# See https://lists.alpinelinux.org/~alpine/devel/%3C33KG0XO61I4IL.2Z7RTAZ5J3SY6%408pit.net%3E
|
||||||
provides="go-bootstrap"
|
provides="go-bootstrap"
|
||||||
|
|
8
cross/gcc-armhf/gcc-go.post-install
Normal file
8
cross/gcc-armhf/gcc-go.post-install
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cat 1>&2 <<EOF
|
||||||
|
*
|
||||||
|
* gcc-go is used in Alpine for bootstrapping Go.
|
||||||
|
* It is currently discouraged to use it for other purposes.
|
||||||
|
*
|
||||||
|
EOF
|
Loading…
Reference in a new issue