mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-util/ply: mark as LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/858458 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools linux-info
|
||||
inherit autotools flag-o-matic linux-info
|
||||
|
||||
DESCRIPTION="Dynamic instrumentation of the Linux kernel with BPF and kprobes"
|
||||
HOMEPAGE="https://github.com/iovisor/ply"
|
||||
@@ -34,6 +34,18 @@ src_prepare() {
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# -Werror=strict-aliasing
|
||||
# https://bugs.gentoo.org/858458
|
||||
# https://github.com/iovisor/ply/issues/92
|
||||
#
|
||||
# Do not trust it with LTO either.
|
||||
append-flags -fno-strict-aliasing
|
||||
filter-lto
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm -f "${ED}/usr/share/doc/${P}/COPYING"
|
||||
|
||||
Reference in New Issue
Block a user