From 5c545831e785b8c4736c578d9592755283a8a4c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 12 May 2020 20:03:58 +0700 Subject: [PATCH] firebird3: support native aarch64-musl build --- srcpkgs/firebird3/template | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/srcpkgs/firebird3/template b/srcpkgs/firebird3/template index 1adc010439f..93b6c0b6305 100644 --- a/srcpkgs/firebird3/template +++ b/srcpkgs/firebird3/template @@ -43,11 +43,12 @@ CXXFLAGS="-fno-delete-null-pointer-checks" pre_configure() { # musl does not have gcrt1.o needed for -p - case "$XBPS_TARGET_MACHINE" in - ppc*-musl) - sed -i '/FLAGS=/s/ \-p / /g' builds/posix/prefix.linux_powerpc* - ;; - esac + if [ "$XBPS_TARGET_LIBC" = musl ]; then + vsed -i -e '/FLAGS=/s/ \-p / /g' \ + builds/posix/prefix.linux_powerpc* \ + builds/posix/prefix.linux_arm* \ + builds/posix/prefix.linux_mips* + fi # Avoid errors telling we are not 'root' and # do not change ownership to root:root and