mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-23 00:27:19 +00:00
Enable LTO for AppImage builds
This commit is contained in:
1 parent
81f20cdb66
commit
e6da6fa11f
2 files changed
+7
-2
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user