From: Ondřej Surý Date: Wed, 24 Sep 2025 11:23:21 +0000 (+0200) Subject: chg: dev: Add option to compile named with static linking and LTO X-Git-Tag: v9.21.14~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6971fb7240f7d1ee78b7a657844b12ec205ee0d;p=thirdparty%2Fbind9.git chg: dev: Add option to compile named with static linking and LTO 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 --- b6971fb7240f7d1ee78b7a657844b12ec205ee0d