Re: [PATCH] configure: Add --enable-lto

2022-12-04 Thread Richard Henderson
On 12/4/22 11:40, Peter Maydell wrote: On Sun, 4 Dec 2022 at 00:04, Richard Henderson wrote: Separately control b_lto without --enable-cfi. Also add --disable-lto for completeness. Before this patch, CFI defaults to false and therefore LTO also defaults to false. After this patch, LTO defaul

Re: [PATCH] configure: Add --enable-lto

2022-12-04 Thread Peter Maydell
On Sun, 4 Dec 2022 at 00:04, Richard Henderson wrote: > > Separately control b_lto without --enable-cfi. > Also add --disable-lto for completeness. Before this patch, CFI defaults to false and therefore LTO also defaults to false. After this patch, LTO defaults to true even if CFI is false. Inten

[PATCH] configure: Add --enable-lto

2022-12-03 Thread Richard Henderson
Separately control b_lto without --enable-cfi. Also add --disable-lto for completeness. Signed-off-by: Richard Henderson --- configure | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 26c7bc5154..d9c9babfc3 100755 --- a/configure +++ b/co