cross-*-musl: sync with gcc: disable symbol versioning and ifunc.

This commit is contained in:
Juan RP 2015-11-01 21:19:31 +01:00
parent 01d2d82b6a
commit dc4d550831
6 changed files with 36 additions and 25 deletions

View File

@ -11,7 +11,7 @@ _sysroot="/usr/${_triplet}"
pkgname=cross-${_triplet}
version=0.20
revision=2
revision=3
short_desc="Cross toolchain for ARM64 LE target (musl)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.voidlinux.eu"
@ -83,7 +83,7 @@ _gcc_bootstrap() {
--enable-languages=c --with-newlib --disable-libssp --disable-nls \
--disable-libquadmath --disable-threads --disable-decimal-float \
--disable-shared --disable-libmudflap --disable-libgomp \
--disable-libatomic
--disable-libatomic --disable-symvers libat_cv_have_ifunc=no
make ${makejobs}
make install
@ -136,7 +136,8 @@ _gcc_build() {
--libexecdir=/usr/lib --enable-languages=c,c++,lto \
--enable-lto --disable-libsanitizer \
--disable-multilib --disable-nls --disable-libquadmath \
--disable-libmudflap --enable-shared
--disable-libmudflap --enable-shared \
--disable-symvers libat_cv_have_ifunc=no
make ${makejobs}
@ -213,7 +214,7 @@ do_install() {
cross-aarch64-linux-musl-libc_package() {
short_desc+=" - libc files"
noarch=yes
nostrip=yes
noshlibprovides=yes
noverifyrdeps=yes
pkg_install() {

View File

@ -13,7 +13,7 @@ _sysroot="/usr/${_triplet}"
pkgname=cross-${_triplet}
version=0.20
revision=1
revision=2
short_desc="Cross toolchain for ARMv5 TE target (musl)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.voidlinux.eu"
@ -85,7 +85,8 @@ _gcc_bootstrap() {
--enable-languages=c --with-newlib --disable-libssp --disable-nls \
--disable-libquadmath --disable-threads --disable-decimal-float \
--disable-shared --disable-libmudflap --disable-libgomp \
--disable-libatomic ${_fpuflags}
--disable-libatomic --disable-symvers \
libat_cv_have_ifunc=no ${_fpuflags}
make ${makejobs}
make install
@ -138,7 +139,8 @@ _gcc_build() {
--target=${_triplet} --with-sysroot=${_sysroot} --prefix=/usr \
--enable-languages=c,c++,lto --enable-lto --disable-libsanitizer \
--disable-multilib --disable-nls --disable-libquadmath \
--disable-libmudflap --enable-shared ${_fpuflags}
--disable-libmudflap --enable-shared \
--disable-symvers libat_cv_have_ifunc=no ${_fpuflags}
make ${makejobs}
@ -214,7 +216,7 @@ do_install() {
cross-arm-linux-musleabi-libc_package() {
short_desc+=" - libc files"
noarch=yes
nostrip=yes
noshlibprovides=yes
noverifyrdeps=yes
pkg_install() {

View File

@ -12,7 +12,7 @@ _sysroot="/usr/${_triplet}"
pkgname=cross-${_triplet}
version=0.20
revision=2
revision=3
short_desc="Cross toolchain for ARMv6 LE Hard Float target (musl)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.voidlinux.eu"
@ -84,7 +84,8 @@ _gcc_bootstrap() {
--enable-languages=c --with-newlib --disable-libssp --disable-nls \
--disable-libquadmath --disable-threads --disable-decimal-float \
--disable-shared --disable-libmudflap --disable-libgomp \
--disable-libatomic ${_fpuflags}
--disable-libatomic --disable-symvers \
libat_cv_have_ifunc=no ${_fpuflags}
make ${makejobs}
make install
@ -137,7 +138,8 @@ _gcc_build() {
--target=${_triplet} --with-sysroot=${_sysroot} --prefix=/usr \
--enable-languages=c,c++,lto --enable-lto --disable-libsanitizer \
--disable-multilib --disable-nls --disable-libquadmath \
--disable-libmudflap --enable-shared ${_fpuflags}
--disable-libmudflap --enable-shared --disable-symvers \
libat_cv_have_ifunc=no ${_fpuflags}
make ${makejobs}
@ -213,7 +215,7 @@ do_install() {
cross-arm-linux-musleabihf-libc_package() {
short_desc+=" - libc files"
noarch=yes
nostrip=yes
noshlibprovides=yes
noverifyrdeps=yes
pkg_install() {

View File

@ -12,7 +12,7 @@ _sysroot="/usr/${_triplet}"
pkgname=cross-${_triplet}
version=0.20
revision=2
revision=3
short_desc="Cross toolchain for ARMv7 LE Hard Float target (musl)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.voidlinux.eu"
@ -84,7 +84,8 @@ _gcc_bootstrap() {
--enable-languages=c --with-newlib --disable-libssp --disable-nls \
--disable-libquadmath --disable-threads --disable-decimal-float \
--disable-shared --disable-libmudflap --disable-libgomp \
--disable-libatomic ${_fpuflags}
--disable-libatomic --disable-symvers \
libat_cv_have_ifunc=no ${_fpuflags}
make ${makejobs}
make install
@ -138,7 +139,8 @@ _gcc_build() {
--target=${_triplet} --with-sysroot=${_sysroot} --prefix=/usr \
--enable-languages=c,c++,lto --enable-lto --disable-libsanitizer \
--disable-multilib --disable-nls --disable-libquadmath \
--disable-libmudflap --enable-shared ${_fpuflags}
--disable-libmudflap --enable-shared --disable-symvers \
libat_cv_have_ifunc=no ${_fpuflags}
make ${makejobs}
@ -214,7 +216,7 @@ do_install() {
cross-armv7l-linux-musleabihf-libc_package() {
short_desc+=" - libc files"
noarch=yes
nostrip=yes
noshlibprovides=yes
noverifyrdeps=yes
pkg_install() {

View File

@ -11,7 +11,7 @@ _archflags="-march=i686"
pkgname=cross-${_triplet}
version=0.20
revision=2
revision=3
short_desc="Cross toolchain for i686 target (musl)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.voidlinux.eu"
@ -84,8 +84,9 @@ _gcc_bootstrap() {
--enable-languages=c --with-newlib --disable-libssp --disable-nls \
--disable-libquadmath --disable-threads --disable-decimal-float \
--disable-shared --disable-libmudflap --disable-libgomp \
--disable-libatomic ${_fpuflags}
--disable-libatomic --disable-symvers \
libat_cv_have_ifunc=no ${_fpuflags}
make ${makejobs}
make install
@ -137,7 +138,8 @@ _gcc_build() {
../gcc-${_gcc_version}/configure \
--target=${_triplet} --with-sysroot=${_sysroot} --prefix=/usr \
--enable-languages=c,c++,lto --enable-lto --disable-libsanitizer \
--disable-multilib --disable-libmudflap --enable-shared ${_fpuflags}
--disable-multilib --disable-libmudflap --enable-shared \
--disable-symvers libat_cv_have_ifunc=no ${_fpuflags}
make ${makejobs}
@ -219,7 +221,7 @@ do_install() {
cross-i686-linux-musl-libc_package() {
short_desc+=" - libc files"
noarch=yes
nostrip=yes
noverifydeps=yes
noshlibprovides=yes
pkg_install() {

View File

@ -10,7 +10,7 @@ _sysroot="/usr/${_triplet}"
pkgname=cross-${_triplet}
version=0.20
revision=2
revision=3
short_desc="Cross toolchain for x86_64 with musl"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.voidlinux.eu"
@ -83,7 +83,8 @@ _gcc_bootstrap() {
--enable-languages=c --with-newlib --disable-libssp --disable-nls \
--disable-libquadmath --disable-threads --disable-decimal-float \
--disable-shared --disable-libmudflap --disable-libgomp \
--disable-libatomic ${_fpuflags}
--disable-libatomic --disable-symvers \
libat_cv_have_ifunc=no ${_fpuflags}
make ${makejobs}
make install
@ -136,7 +137,8 @@ _gcc_build() {
../gcc-${_gcc_version}/configure \
--target=${_triplet} --with-sysroot=${_sysroot} --prefix=/usr \
--enable-languages=c,c++,lto --enable-lto --disable-libsanitizer \
--disable-multilib --disable-libmudflap --enable-shared ${_fpuflags}
--disable-multilib --disable-libmudflap --enable-shared \
--disable-symvers libat_cv_have_ifunc=no ${_fpuflags}
make ${makejobs}
@ -218,7 +220,7 @@ do_install() {
cross-x86_64-linux-musl-libc_package() {
short_desc+=" - libc files"
noarch=yes
nostrip=yes
noverifydeps=yes
noshlibprovides=yes
pkg_install() {