pcre: fix mips* build
This commit is contained in:
@@ -22,6 +22,15 @@ post_install() {
|
|||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends="automake libtool"
|
hostmakedepends="automake libtool"
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
|
# Mips needs a hint if an FPU is available or not
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
mips-musl|mipsel-musl)
|
||||||
|
CFLAGS="-DSLJIT_IS_FPU_AVAILABLE=0"
|
||||||
|
;;
|
||||||
|
mipselhf-musl)
|
||||||
|
CFLAGS="-DSLJIT_IS_FPU_AVAILABLE=1"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user