From 4ecbde2829837d2e0096e57599d2a89065c2e660 Mon Sep 17 00:00:00 2001 From: theofficialgman <28281419+theofficialgman@users.noreply.github.com> Date: Tue, 1 Oct 2024 14:57:29 -0400 Subject: [PATCH] Monero GUI: add -latomic for 32bit architectures https://gitlab.kitware.com/cmake/cmake/-/issues/21174 --- apps/Monero GUI/install | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/Monero GUI/install b/apps/Monero GUI/install index 94e0891f0a..2983eb120f 100755 --- a/apps/Monero GUI/install +++ b/apps/Monero GUI/install @@ -15,7 +15,11 @@ git_clone --recursive https://github.com/monero-project/monero-gui || exit 1 #compile cd /tmp/monero-gui -make release -j$(nproc) || error "Compiling monero-gui failed. Check errors above." +if [ "$arch" == 32 ]; then + LDFLAGS=-latomic make release -j$(nproc) || error "Compiling monero-gui failed. Check errors above." +else + make release -j$(nproc) || error "Compiling monero-gui failed. Check errors above." +fi cd IFS=$'\n'