gmp/floating-point-format-no-lto.patch
2019-07-01 10:02:52 +00:00

14 lines
471 B
Diff

diff --git a/configure b/configure
index 12ddffd..a7890ed 100755
--- a/configure
+++ b/configure
@@ -24563,7 +24563,7 @@ struct foo foo = {
{ '\376', '\334', '\272', '\230', '\166', '\124', '\062', '\020' },
};
EOF
-gmp_compile="$CC $CFLAGS $CPPFLAGS -c conftest.c >&5 2>&1"
+gmp_compile="$CC $CFLAGS $CPPFLAGS -fno-lto -c conftest.c >&5 2>&1"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?