diff --git a/srcpkgs/cross-aarch64-linux-musl/files/libssp-musl.patch b/srcpkgs/cross-aarch64-linux-musl/files/libssp-musl.patch new file mode 120000 index 00000000000..37a7489360f --- /dev/null +++ b/srcpkgs/cross-aarch64-linux-musl/files/libssp-musl.patch @@ -0,0 +1 @@ +../../gcc/files/libssp-musl.patch \ No newline at end of file diff --git a/srcpkgs/cross-aarch64-linux-musl/template b/srcpkgs/cross-aarch64-linux-musl/template index 9ca3f08e86b..c58c5beff84 100644 --- a/srcpkgs/cross-aarch64-linux-musl/template +++ b/srcpkgs/cross-aarch64-linux-musl/template @@ -12,7 +12,7 @@ _sysroot="/usr/${_triplet}" pkgname=cross-${_triplet} version=0.33 -revision=1 +revision=2 short_desc="Cross toolchain for ARM64 LE target (musl)" maintainer="Orphaned " 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"