commit:     8f3a942123c4e34827481ddc5cf05cf0cf174a07
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Mon Jan  6 22:36:31 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan  7 02:22:46 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f3a9421

sys-libs/error-standalone: append-flags -fPIC

Closes: https://bugs.gentoo.org/947637
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>
Closes: https://github.com/gentoo/gentoo/pull/40018
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{error-standalone-2.0.ebuild => error-standalone-2.0-r1.ebuild}   | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys-libs/error-standalone/error-standalone-2.0.ebuild 
b/sys-libs/error-standalone/error-standalone-2.0-r1.ebuild
similarity index 93%
rename from sys-libs/error-standalone/error-standalone-2.0.ebuild
rename to sys-libs/error-standalone/error-standalone-2.0-r1.ebuild
index 47cecb0e00f1..39a273b1ada3 100644
--- a/sys-libs/error-standalone/error-standalone-2.0.ebuild
+++ b/sys-libs/error-standalone/error-standalone-2.0-r1.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit flag-o-matic
+
 DESCRIPTION="standalone <error.h> implementation intended for musl"
 HOMEPAGE="https://hacktivis.me/git/error-standalone/";
 SRC_URI="https://hacktivis.me/releases/error-standalone/${P}.tar.gz";
@@ -16,6 +18,8 @@ RDEPEND="!sys-libs/glibc"
 IUSE="static-libs"
 
 src_compile() {
+       append-flags -fPIC
+
        emake liberror.so $(usex static-libs liberror.a '')
 }
 

Reply via email to