From 7c10a006d2b30b6c7edd5ea6550ffe3e526de0ba Mon Sep 17 00:00:00 2001 From: q66 Date: Tue, 15 Oct 2019 18:38:28 +0200 Subject: [PATCH] firebird3: fix build on ppc*-musl [ci skip] --- srcpkgs/firebird3/template | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/srcpkgs/firebird3/template b/srcpkgs/firebird3/template index f163475c253..1adc010439f 100644 --- a/srcpkgs/firebird3/template +++ b/srcpkgs/firebird3/template @@ -42,6 +42,13 @@ CFLAGS="-fno-strict-aliasing" 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 + # Avoid errors telling we are not 'root' and # do not change ownership to root:root and # do not change permissions to read-only