freebsd-ports/deskutils/remind/files/extra-patch-configure.in
Robert Clausecker f3d5006d3d deskutils/remind: fix build on riscv64 (+)
The LTO build fails on riscv64 due to a phony linker error
about ABI incompatibility.  Disable LTO on riscv64 to make
the build succeed.

PR:	267021
MFH:	2022Q4
2022-10-16 02:26:28 +03:00

10 lines
370 B
Text

--- configure.in.orig 2022-10-13 14:15:40 UTC
+++ configure.in
@@ -51,7 +51,6 @@ if test "$GCC" = yes; then
AC_MSG_CHECKING([whether $CC supports $f])
if $CC -E $f /dev/null > /dev/null 2>&1 ; then
AC_MSG_RESULT([yes])
- CFLAGS="$CFLAGS $f"
else
AC_MSG_RESULT([no])
fi