commit: 0eb79858111fe7de4f9794d727d547e5ea17c79f Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> AuthorDate: Mon Jan 23 12:45:37 2023 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Mon Jan 23 12:45:37 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0eb79858
dev-libs/mtxclient: add pie USE-flag Closes: https://bugs.gentoo.org/890895 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de> dev-libs/mtxclient/mtxclient-0.9.1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-libs/mtxclient/mtxclient-0.9.1.ebuild b/dev-libs/mtxclient/mtxclient-0.9.1.ebuild index e704def7e..1e59db4eb 100644 --- a/dev-libs/mtxclient/mtxclient-0.9.1.ebuild +++ b/dev-libs/mtxclient/mtxclient-0.9.1.ebuild @@ -13,7 +13,7 @@ LICENSE="MIT" SLOT="0/${PV}" # ABI may break even on patch version changes KEYWORDS="~amd64" -IUSE="test" +IUSE="+pie test" RESTRICT="!test? ( test )" RDEPEND=" @@ -46,6 +46,7 @@ src_configure() { local -a mycmakeargs=( -DBUILD_LIB_TESTS="$(usex test)" -DBUILD_LIB_EXAMPLES=OFF + -DCMAKE_POSITION_INDEPENDENT_CODE=$(usex pie) ) cmake_src_configure
