From 450b28c838057cbe28a9fb9f02695f84028a2800 Mon Sep 17 00:00:00 2001 From: forkless Date: Mon, 1 Jun 2026 04:59:24 +0200 Subject: [PATCH] Document LTO+strip in build script --- build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index cf6a3a2..8a3cdc2 100755 --- a/build.sh +++ b/build.sh @@ -2,7 +2,9 @@ set -euo pipefail # NotAlterra build script -# Produces: notalterra-linux, notalterra-windows.exe, and release archives +# Produces: release archives in builds/ +# Usage: ./build.sh — optimized release (LTO + strip) +# ./build.sh fast — no LTO, faster compile VERSION=$(grep '^version' Cargo.toml | head -1 | sed 's/.*"\(.*\)".*/\1/') echo "=== NotAlterra v${VERSION} ==="