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,6 +65,12 @@ esac
if [ -z "$CROSS_BUILD" ]; then
subpackages+=" libboost_stacktrace_addr2line"
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*|ppc64le)
makedepends+=" libquadmath-devel"
;;
esac
fi
if [ "$XBPS_TARGET_LIBC" = musl ]; then
@ -72,12 +78,6 @@ if [ "$XBPS_TARGET_LIBC" = musl ]; then
LDFLAGS+=" -lucontext"
fi
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*|ppc64le)
makedepends+=" libquadmath-devel"
;;
esac
case "$XBPS_TARGET_MACHINE" in
i686*) _arch=x86; _abi=sysv ;;
x86_64*) _arch=x86; _abi=sysv ;;