firebird3: fix build on ppc*-musl
[ci skip]
This commit is contained in:
parent
a8a793b66f
commit
64f73556a7
1 changed files with 7 additions and 0 deletions
|
@ -42,6 +42,13 @@ CFLAGS="-fno-strict-aliasing"
|
||||||
CXXFLAGS="-fno-delete-null-pointer-checks"
|
CXXFLAGS="-fno-delete-null-pointer-checks"
|
||||||
|
|
||||||
pre_configure() {
|
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
|
# Avoid errors telling we are not 'root' and
|
||||||
# do not change ownership to root:root and
|
# do not change ownership to root:root and
|
||||||
# do not change permissions to read-only
|
# do not change permissions to read-only
|
||||||
|
|
Loading…
Reference in a new issue