From a9edfd0bc4175de8f08fbe34af598b17b59efc86 Mon Sep 17 00:00:00 2001 From: MickLesk Date: Wed, 27 May 2026 15:41:35 +0200 Subject: [PATCH] Update stoatchat-install.sh --- install/stoatchat-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/stoatchat-install.sh b/install/stoatchat-install.sh index ea2652a3..96483af7 100644 --- a/install/stoatchat-install.sh +++ b/install/stoatchat-install.sh @@ -39,7 +39,8 @@ fetch_and_deploy_gh_release "stoatchat" "stoatchat/stoatchat" "tarball" msg_info "Building Backend (Patience)" cd /opt/stoatchat -$STD cargo build --release --bins -j 2 +CARGO_PROFILE_RELEASE_LTO=thin \ + $STD cargo build --release --bins -j 2 msg_ok "Built Backend" NODE_VERSION="22" setup_nodejs