pcre: fix mips* build
This commit is contained in:
parent
88985994c7
commit
be48d3ea39
1 changed files with 9 additions and 0 deletions
|
@ -22,6 +22,15 @@ post_install() {
|
|||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends="automake libtool"
|
||||
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
|
||||
}
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue