diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-25 19:22:13 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-25 19:22:13 +0100 |
commit | 6bd95d1f6320b8666a31ec949183aaa3088aa16f (patch) | |
tree | ff9f0cde8bfba5191f96c690c269c814c134a51e /dev-util/statifier/statifier-1.7.4.ebuild | |
parent | b279bbe94522565b8feb19b8e5f377d3ea76f157 (diff) |
gentoo resync : 25.03.2018
Diffstat (limited to 'dev-util/statifier/statifier-1.7.4.ebuild')
-rw-r--r-- | dev-util/statifier/statifier-1.7.4.ebuild | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-util/statifier/statifier-1.7.4.ebuild b/dev-util/statifier/statifier-1.7.4.ebuild index 2e2867cd1b96..a90f4825f90a 100644 --- a/dev-util/statifier/statifier-1.7.4.ebuild +++ b/dev-util/statifier/statifier-1.7.4.ebuild @@ -3,6 +3,10 @@ EAPI="6" +MULTILIB_COMPAT=( abi_x86_{32,64} ) + +inherit multilib-build + DESCRIPTION="Statifier is a tool for creating portable, self-containing Linux executables" HOMEPAGE="http://statifier.sourceforge.net" SRC_URI="https://sourceforge.net/projects/${PN}/files/${PN}/${PV}/${P}.tar.gz" @@ -20,6 +24,11 @@ src_prepare() { # Respect users CFLAGS and LDFLAGS sed -i -e 's/-Wall -O2/$(CFLAGS) $(LDFLAGS)/g' src/Makefile || die + # 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 + fi + # Apply user patches eapply_user } |