telegram-desktop: use generic libatomic checks

This commit is contained in:
q66 2020-02-08 17:24:17 +01:00
parent 29dea74754
commit 47029ec129

View file

@ -30,18 +30,15 @@ checksum=260678b1e2c9638fa5d500880ddd9b6cd8338b1d235aee93c43ec9ab22a67d21
build_options="spellcheck"
build_options_default="spellcheck"
case $XBPS_TARGET_MACHINE in
mips*)
broken="unsupported"
;;
ppc64*) ;;
armv[56]*|ppc*)
makedepends+=" libatomic-devel"
LDFLAGS="-latomic"
;;
mips*) broken="unsupported";;
esac
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
LDFLAGS="-latomic"
fi
if [ "$XBPS_WORDSIZE" -eq 32 ]; then
nodebug=yes
fi