Skip to content
Snippets Groups Projects

Backport v2022 <- v2023: Add a patch setting by default flags to optimize the binary size

Merged Dylan Aïssi requested to merge apertis/v2023-updates into apertis/v2022-updates
  • Add "lto": whole binary link time optimisation.
  • Use opt-level = "z": to optimize for size.
  • Make the panic handler simply abort() rather then unwinding and printing a backtrace.

Add flag in debian/rules to strip symbols from the binary.

Inspired by https://github.com/uutils/coreutils/commit/0c4f586

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading