| 1 | diff --git a/configure b/configure |
| 2 | index 9d6457d..f57df0d 100755 |
| 3 | |
| 4 | |
| 5 | 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 |