diff options
author | Arsen Arsenović <arsen@aarsen.me> | 2022-11-21 11:05:29 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-11-22 08:08:34 +0000 |
commit | d5b9075eac011e16538cc6689d470d875434d803 (patch) | |
tree | 57059d0da55a27e062a0932b387d8f4bd1b4816f /dev-util/poke | |
parent | sys-apps/keyutils: Stabilize 1.6.3 arm, #789837 (diff) | |
download | gentoo-d5b9075eac011e16538cc6689d470d875434d803.tar.gz gentoo-d5b9075eac011e16538cc6689d470d875434d803.tar.bz2 gentoo-d5b9075eac011e16538cc6689d470d875434d803.zip |
dev-util/poke: filter out LTO
On LTO'd systems, it was not possible to build poke due to an
autogenerated file producing code that lto-wrapper is unable to process.
We can just disable LTO in this case, until upstream gains support for
filtering out LTO flags for that single file.
Closes: https://bugs.gentoo.org/858461
Signed-off-by: Arsen Arsenović <arsen@aarsen.me>
Closes: https://github.com/gentoo/gentoo/pull/28362
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/poke')
-rw-r--r-- | dev-util/poke/poke-2.4.ebuild | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-util/poke/poke-2.4.ebuild b/dev-util/poke/poke-2.4.ebuild index 683291c3f9ba..88d5da88915a 100644 --- a/dev-util/poke/poke-2.4.ebuild +++ b/dev-util/poke/poke-2.4.ebuild @@ -3,6 +3,8 @@ EAPI=8 +inherit flag-o-matic + DESCRIPTION="Extensible editor for structured binary data" HOMEPAGE="https://www.jemarch.net/poke" SRC_URI="mirror://gnu/poke/${P}.tar.gz" @@ -29,6 +31,13 @@ BDEPEND="sys-devel/flex virtual/pkgconfig" src_configure() { + # See bug 858461. + # Upstream support might happen one day. For context, only one file needs + # LTO to be disabled (since it's an autogenerated bytecode interpreter), + # others do not. The build system will handle this at some point in the + # future. Until then, just filter out LTO. + filter-lto + # NB --disable-{gui,mi}: # These (AFAICT) have no consumers in Gentoo, and should not get any, # preferably. They are slated for removal with Poke 3 (should happen |