monero-gui: use generic libatomic checks
This commit is contained in:
parent
fb92ec2359
commit
b48c5c2c61
1 changed files with 3 additions and 5 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue