projects/aports·blob master · refs

15 lines · 437 B

1diff --git a/configure b/configure
2index 9d6457d..f57df0d 100755
3--- a/configure
4+++ b/configure
5@@ -7126,8 +7126,8 @@ check_optflags -fno-signed-zeros
6
7 if enabled lto; then
8 test "$cc_type" != "$ld_type" && die "LTO requires same compiler and linker"
9- check_cflags -flto
10- check_ldflags -flto $cpuflags
11+ check_cflags -flto=auto
12+ check_ldflags -flto=auto $cpuflags
13 disable inline_asm_direct_symbol_refs
14 fi
15