···254254 "--enable-lto"
255255 ];
256256257257+ env.CXXFLAGS = toString (
258258+ lib.optionals (lib.versionAtLeast lowdown.version "1.4.0") [
259259+ # Autotools based build system wasn't updated with the backport of
260260+ # https://github.com/NixOS/nix/pull/12115, so set the define explicitly.
261261+ "-DHAVE_LOWDOWN_1_4"
262262+ ]
263263+ );
264264+257265 makeFlags = [
258266 # gcc runs multi-threaded LTO using make and does not yet detect the new fifo:/path style
259267 # of make jobserver. until gcc adds support for this we have to instruct make to use this