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

View file

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