Enable LTO for AppImage builds

This commit is contained in:
Cameron Gutman committed 2026-05-26 21:55:58 -05:00
1 parent 81f20cdb66
commit e6da6fa11f
2 files changed
+7 -2

No files matched your search

+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.