forked from Lainports/freebsd-ports
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
10 lines
370 B
Text
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
|