monero-gui: use generic libatomic checks

This commit is contained in:
q66 2020-02-08 17:19:50 +01:00
parent fb92ec2359
commit b48c5c2c61

View file

@ -19,11 +19,9 @@ checksum=fbb58d8afe8c5b88785d33922f578dde0a851fb87162dca70cad17c3116e5b6c
pre_configure() {
echo "var GUI_VERSION = \"${version}\"" > version.js
echo "var GUI_MONERO_VERSION = \"${version}\"" >> version.js
case "$XBPS_TARGET_MACHINE" in
armv[56]*|ppc|ppc-musl) # armv[56]* and ppc need to link libatomic.a for __atomic_fetch_sub_8
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
sed -i *.pro -e "s;-leasylogging;-leasylogging -latomic;"
;;
esac
fi
}
pre_build() {