app-pda/pilot-link: mark as LTO-unsafe

Only for the (absence of) the USE flag that causes the internal code to
be used. It's set by default for desktop/make.defaults anyway so
probably most users go through libusb instead.

Closes: https://bugs.gentoo.org/924480
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Eli Schwartz 2024-03-17 16:12:38 -04:00 committed by Sam James
parent bf14480749
commit d7d3bc2228
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
1 changed files with 11 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools perl-module
inherit autotools flag-o-matic perl-module
DESCRIPTION="Suite of tools for moving data between a Palm device and a desktop"
# this is a new mirror; the distfile has the same content inside the tarball,
@ -42,6 +42,15 @@ src_prepare() {
}
src_configure() {
# -Werror=lto-type-mismatch
# https://bugs.gentoo.org/924480
#
# Upstream is abandoned since 2016, existing issue offering gentoo-patchset
# has been ignored. No bug filed.
#
# The issue is in the internal compat code for *not* using libusb.
use usb || filter-lto
# tcl/tk support is disabled as per upstream request.
# readline is not really optional, bug #626504
# Does not build with Java 8