mirror of
https://github.com/Genymobile/scrcpy
synced 2025-08-30 13:58:08 +00:00
Enable link-time optimization for release
Because why not.
This commit is contained in:
3
Makefile
3
Makefile
@@ -33,7 +33,8 @@ run-debug:
|
|||||||
SCRCPY_SERVER_JAR=server/build/outputs/apk/debug/server-debug.apk $(APP_BUILD_DEBUG_DIR)/scrcpy $(ARGS)
|
SCRCPY_SERVER_JAR=server/build/outputs/apk/debug/server-debug.apk $(APP_BUILD_DEBUG_DIR)/scrcpy $(ARGS)
|
||||||
|
|
||||||
build-app:
|
build-app:
|
||||||
[ -d "$(APP_BUILD_DIR)" ] || ( mkdir "$(APP_BUILD_DIR)" && meson app "$(APP_BUILD_DIR)" --buildtype release )
|
[ -d "$(APP_BUILD_DIR)" ] || ( mkdir "$(APP_BUILD_DIR)" && \
|
||||||
|
meson app "$(APP_BUILD_DIR)" --buildtype release -Db_lto )
|
||||||
ninja -C "$(APP_BUILD_DIR)"
|
ninja -C "$(APP_BUILD_DIR)"
|
||||||
|
|
||||||
build-server:
|
build-server:
|
||||||
|
Reference in New Issue
Block a user