firebird3: support native aarch64-musl build
This commit is contained in:
parent
27091b4b61
commit
5c545831e7
1 changed files with 6 additions and 5 deletions
|
@ -43,11 +43,12 @@ CXXFLAGS="-fno-delete-null-pointer-checks"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# musl does not have gcrt1.o needed for -p
|
# musl does not have gcrt1.o needed for -p
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||||
ppc*-musl)
|
vsed -i -e '/FLAGS=/s/ \-p / /g' \
|
||||||
sed -i '/FLAGS=/s/ \-p / /g' builds/posix/prefix.linux_powerpc*
|
builds/posix/prefix.linux_powerpc* \
|
||||||
;;
|
builds/posix/prefix.linux_arm* \
|
||||||
esac
|
builds/posix/prefix.linux_mips*
|
||||||
|
fi
|
||||||
|
|
||||||
# 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
|
||||||
|
|
Loading…
Reference in a new issue