Paul Eggert wrote:
> +   If GCC 12+ and -flto is not being used (in which case -DUSING_LTO
> +   should also be used), simply use a pragma.

What does this comment mean? That the one who builds the package should
set CPPFLAGS="-DUSING_LTO" if -flto is not being used? (Or if -flto
_is_ being used?)

Distros don't typically define this symbol. For instance, Fedora has a
'_lto_cflags' variable in their spec files that defaults to
"-flto=auto -ffat-lto-objects". Therefore I think it should be the
configure script, not the user, who defines such a symbol like USING_LTO.

Bruno




Reply via email to