diff --git a/configure b/configure
index 32ea79f63301db2612a4a3da36ad6edf390c2009..18b276c7ee0d801c9c86e32ec7810598623474fd 100755
--- a/configure
+++ b/configure
@@ -4904,6 +4904,7 @@ if enabled lto; then
     test "$cc_type" != "$ld_type" && die "LTO requires same compiler and linker"
     check_cflags  -flto
     check_ldflags -flto $cpuflags
+    disable inline_asm_direct_symbol_refs
 fi
 
 check_optflags $optflags