mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
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
This commit is contained in:
parent
0881c31881
commit
f3d5006d3d
@ -11,11 +11,17 @@ WWW= https://dianne.skoll.ca/projects/remind/
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
USES= autoreconf
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --disable-perl-build-artifacts
|
||||
MAKE_ARGS= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
|
||||
INSTALL_TARGET= ${WITH_DEBUG:Dinstall:Uinstall-stripped}
|
||||
|
||||
# disable LTO on riscv64
|
||||
EXTRA_PATCHES_riscv64= ${FILESDIR}/extra-patch-configure.in
|
||||
EXTRA_PATCHES= ${EXTRA_PATCHES_${ARCH}}
|
||||
|
||||
OPTIONS_DEFINE= A4 TCLTK REM2HTML REM2PDF
|
||||
OPTIONS_DEFAULT= LANG_US REM2HTML REM2PDF
|
||||
OPTIONS_SINGLE= LANGUAGE
|
||||
|
10
deskutils/remind/files/extra-patch-configure.in
Normal file
10
deskutils/remind/files/extra-patch-configure.in
Normal file
@ -0,0 +1,10 @@
|
||||
--- 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
|
Loading…
Reference in New Issue
Block a user