thrift: use $XBPS_TARGET_NO_ATOMIC8

This commit is contained in:
Jürgen Buchmüller 2020-03-30 14:25:15 +02:00
parent cc67fcf78c
commit 48dc2ec11d
1 changed files with 3 additions and 4 deletions

View File

@ -11,10 +11,9 @@ homepage="https://thrift.apache.org/"
distfiles="http://www-us.apache.org/dist/thrift/${version}/thrift-${version}.tar.gz"
checksum=7ad348b88033af46ce49148097afe354d513c1fca7c607b59c33ebb6064b5179
case "$XBPS_TARGET_MACHINE" in
ppc64*) ;;
ppc*) makedepends+=" libatomic-devel";;
esac
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi
if [ "$CROSS_BUILD" ]; then
configure_args="--disable-tests --disable-tutorial"