Forwarded: not-needed
Last-Update: 2022-06-14
We use the standard Debian compilation flags
Gbp-Pq: Name do-not-use-O3-compile-flag.patch
# Enabling -flto brings executable from 4MB to 0.56MB and -Os to 0.41MB\r
# Profiling shows an execution around 3-5% slower with -Os vs -O3,\r
# so, kept only -flto.\r
- extra_compile_args = ["-flto", "-O3"]\r
+ extra_compile_args = ["-flto"]\r
extra_link_args = extra_compile_args[:]\r
\r
# Note: also experimented with profile-guided optimization. The executable\r
# Enabling -flto brings executable from 4MB to 0.56MB and -Os to 0.41MB
# Profiling shows an execution around 3-5% slower with -Os vs -O3,
# so, kept only -flto.
- extra_compile_args = ["-flto", "-O3"]
+ extra_compile_args = ["-flto"]
extra_link_args = extra_compile_args[:]
# Note: also experimented with profile-guided optimization. The executable