Skip to content

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

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