You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
improve: compilation commands
This commit improves the compilation commands resulting in even better sized releases.
This commit is contained in:
@@ -35,11 +35,11 @@ val defaultCFlags = arrayOf(
|
||||
)
|
||||
|
||||
val releaseFlags = arrayOf(
|
||||
"-Oz", "-flto",
|
||||
"-Wno-unused", "-Wno-unused-parameter",
|
||||
"-fvisibility=hidden", "-fvisibility-inlines-hidden",
|
||||
"-fno-unwind-tables", "-fno-asynchronous-unwind-tables",
|
||||
"-Wl,--exclude-libs,ALL", "-Wl,--gc-sections", "-Wl,--strip-all"
|
||||
"-Wl,--exclude-libs,ALL", "-Wl,--gc-sections",
|
||||
"-Wl,--strip-all", "-Ofast", "-flto=thin",
|
||||
)
|
||||
|
||||
android {
|
||||
|
||||
Reference in New Issue
Block a user