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