mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
boost: don't makedepends on libquadmath when cross compiling
This commit is contained in:
parent
0c2501f3a5
commit
0bd3211595
1 changed files with 6 additions and 6 deletions
|
@ -65,6 +65,12 @@ esac
|
||||||
|
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
subpackages+=" libboost_stacktrace_addr2line"
|
subpackages+=" libboost_stacktrace_addr2line"
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
i686*|x86_64*|ppc64le)
|
||||||
|
makedepends+=" libquadmath-devel"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||||
|
@ -72,12 +78,6 @@ if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||||
LDFLAGS+=" -lucontext"
|
LDFLAGS+=" -lucontext"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
i686*|x86_64*|ppc64le)
|
|
||||||
makedepends+=" libquadmath-devel"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686*) _arch=x86; _abi=sysv ;;
|
i686*) _arch=x86; _abi=sysv ;;
|
||||||
x86_64*) _arch=x86; _abi=sysv ;;
|
x86_64*) _arch=x86; _abi=sysv ;;
|
||||||
|
|
Loading…
Add table
Reference in a new issue