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() {
|
pre_configure() {
|
||||||
echo "var GUI_VERSION = \"${version}\"" > version.js
|
echo "var GUI_VERSION = \"${version}\"" > version.js
|
||||||
echo "var GUI_MONERO_VERSION = \"${version}\"" >> version.js
|
echo "var GUI_MONERO_VERSION = \"${version}\"" >> version.js
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
armv[56]*|ppc|ppc-musl) # armv[56]* and ppc need to link libatomic.a for __atomic_fetch_sub_8
|
sed -i *.pro -e "s;-leasylogging;-leasylogging -latomic;"
|
||||||
sed -i *.pro -e "s;-leasylogging;-leasylogging -latomic;"
|
fi
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
|
|
Loading…
Reference in a new issue