Enable link-time optimization for release
Because why not.
This commit is contained in:
parent
000c70a644
commit
2f3e00ed98
1 changed files with 2 additions and 1 deletions
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)
|
||||
|
||||
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)"
|
||||
|
||||
build-server:
|
||||
|
|
Loading…
Reference in a new issue