Enable LTO for AppImage builds

This commit is contained in:
Cameron Gutman
2026-05-26 21:55:58 -05:00
parent 81f20cdb66
commit e6da6fa11f
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -32,6 +32,11 @@ mkdir $BUILD_FOLDER
mkdir $DEPLOY_FOLDER
mkdir $INSTALLER_FOLDER
# Enable LTO for official builds
export CFLAGS=-flto=auto
export CXXFLAGS=-flto=auto
export LDFLAGS=-flto=auto
echo Configuring the project
pushd $BUILD_FOLDER
# Building with Wayland support will cause linuxdeploy to include libwayland-client.so in the AppImage.