boost: don't makedepends on libquadmath when cross compiling

This commit is contained in:
oreo639 2024-01-28 15:30:00 -08:00
parent 0c2501f3a5
commit 0bd3211595

View file

@ -65,18 +65,18 @@ esac
if [ -z "$CROSS_BUILD" ]; then
subpackages+=" libboost_stacktrace_addr2line"
fi
if [ "$XBPS_TARGET_LIBC" = musl ]; then
makedepends+=" libucontext-devel"
LDFLAGS+=" -lucontext"
fi
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*|ppc64le)
makedepends+=" libquadmath-devel"
;;
esac
fi
if [ "$XBPS_TARGET_LIBC" = musl ]; then
makedepends+=" libucontext-devel"
LDFLAGS+=" -lucontext"
fi
case "$XBPS_TARGET_MACHINE" in
i686*) _arch=x86; _abi=sysv ;;