cross-armv7l-linux-musleabihf: add libssp-musl.patch

[ci skip]
This commit is contained in:
Jürgen Buchmüller 2020-06-08 09:36:03 +02:00 committed by q66
parent 7cafd1881a
commit ab8ae13798
2 changed files with 4 additions and 1 deletions

View file

@ -0,0 +1 @@
../../gcc/files/libssp-musl.patch

View file

@ -13,7 +13,7 @@ _sysroot="/usr/${_triplet}"
pkgname=cross-${_triplet}
version=0.33
revision=2
revision=3
short_desc="Cross toolchain for ARMv7 LE Hard Float target (musl)"
maintainer="Orphaned <orphan@voidlinux.org>"
homepage="https://www.voidlinux.org/"
@ -93,6 +93,7 @@ _gcc_bootstrap() {
_apply_patch -p0 ${FILESDIR}/fix-cxxflags-passing.patch
_apply_patch -p0 ${FILESDIR}/musl-ada.patch
_apply_patch -p1 ${FILESDIR}/libgnarl-musl.patch
_apply_patch -p1 ${FILESDIR}/libssp-musl.patch
_apply_patch -p0 ${FILESDIR}/invalid_tls_model.patch
_apply_patch -p0 ${FILESDIR}/gccgo-musl.patch
@ -199,6 +200,7 @@ _gcc_build() {
_args+=" --enable-lto"
_args+=" --enable-default-pie"
_args+=" --enable-default-ssp"
_args+=" --enable-libssp"
_args+=" --disable-libsanitizer"
_args+=" --disable-multilib"
_args+=" --disable-nls"