sci-mathematics/twelf: mark as LTO-unsafe

Per the contributing guideline:

> Twelf, the software, is not under active development, and changes to
> the code of Twelf are unlikely to be accepted unless you’re working with
> Twelf’s original authors, Frank Pfenning and Carsten Schürmann.

Getting this fixed is unlikely to happen, so all that's left is
filtering.

Closes: https://bugs.gentoo.org/863266
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz
2024-09-08 23:58:21 -04:00
parent e25ea15a06
commit 9709c3e5dd

View File

@@ -3,7 +3,7 @@
EAPI="8"
inherit elisp-common
inherit elisp-common flag-o-matic
MY_PN="${PN}-src"
MY_P="${MY_PN}-${PV}"
@@ -59,6 +59,12 @@ src_prepare() {
}
src_compile() {
# relocation R_X86_64_32 against hidden symbol `globalCPointer' can not be used when making a PIE object
# https://bugs.gentoo.org/863266
#
# The software is unmaintained and disables bug reports.
filter-lto
emake mlton CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS} -fno-PIE"
if use emacs ; then
pushd "${S}/emacs" || die "Could change directory to emacs"