commit: 2a71544224f70c97980bafacc7ab5a360224b2a8 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> AuthorDate: Sun Sep 20 15:58:31 2020 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Sun Sep 20 15:58:58 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a715442
dev-util/statifier: fix compilation Closes: https://bugs.gentoo.org/743298 Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> dev-util/statifier/statifier-1.7.4-r1.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dev-util/statifier/statifier-1.7.4-r1.ebuild b/dev-util/statifier/statifier-1.7.4-r1.ebuild index 5bdd7e9ca4e..f5697dd1a24 100644 --- a/dev-util/statifier/statifier-1.7.4-r1.ebuild +++ b/dev-util/statifier/statifier-1.7.4-r1.ebuild @@ -5,7 +5,7 @@ EAPI=7 MULTILIB_COMPAT=( abi_x86_{32,64} ) -inherit multilib-build toolchain-funcs +inherit flag-o-matic multilib-build toolchain-funcs DESCRIPTION="Statifier is a tool for creating portable, self-containing Linux executables" HOMEPAGE="http://statifier.sourceforge.net" @@ -32,13 +32,16 @@ src_prepare() { # Don't compile 32-bit on amd64 no-multilib profile if ! use abi_x86_32; then - sed -i -e 's/ELF32 .*/ELF32 := no/g' configs/config.x86_64 || die + sed -e 's/ELF32 .*/ELF32 := no/g' -i configs/config.x86_64 || die fi } src_configure() { tc-export CC + # Debug flags are known to cause compile failure + filter-flags "-g*" + # Fix permissions, as configure is not marked executable chmod +x configure || die econf @@ -53,6 +56,5 @@ src_install() { # Package complains with MAKEOPTS > -j1 emake -j1 DESTDIR="${ED}" install - # Install docs einstalldocs }