]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
chg: dev: Add option to compile named with static linking and LTO
authorOndřej Surý <ondrej@isc.org>
Wed, 24 Sep 2025 11:23:21 +0000 (13:23 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 24 Sep 2025 11:23:21 +0000 (13:23 +0200)
Statically linking lib{isc,dns,ns,cfg,isccc} and enabling LTO shows over 10% improvements on all almost measurements in perflab. That said, we can't use Meson's option for LTO since it would result in every binary being compiled with LTO and a great increase in compile time.

To work around it, we add a configuration option that enables LTO and static linking only for the `named` binary.

Merge branch 'alessio/meson-lto-v2' into 'main'

See merge request isc-projects/bind9!10761


Trivial merge