telegram-desktop: use generic libatomic checks
This commit is contained in:
parent
29dea74754
commit
47029ec129
1 changed files with 6 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue