audacity: use generic libatomic checks

This commit is contained in:
q66 2020-02-08 17:13:42 +01:00
parent e8eba35f9d
commit 23b1ecfd3a

View file

@ -23,12 +23,11 @@ case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) ;;
*) configure_args+=" --disable-sse" ;;
esac
case "$XBPS_TARGET_MACHINE" in
arm*|ppc|ppc-musl)
makedepends+=" libatomic-devel"
LDFLAGS="-latomic"
;;
esac
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
LDFLAGS="-latomic"
fi
post_install() {
rm ${DESTDIR}/usr/share/doc/${pkgname}/LICENSE.txt