aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny (tastytea) Gutbrod <gentoo@tastytea.de>2023-01-23 13:45:37 +0100
committerRonny (tastytea) Gutbrod <gentoo@tastytea.de>2023-01-23 13:45:37 +0100
commit0eb79858111fe7de4f9794d727d547e5ea17c79f (patch)
tree3c7896998f1767ca975f7d951b4af75f873cca82 /dev-libs
parentnet-im/nheko: add pie USE-flag (diff)
downloadguru-0eb79858111fe7de4f9794d727d547e5ea17c79f.tar.gz
guru-0eb79858111fe7de4f9794d727d547e5ea17c79f.tar.bz2
guru-0eb79858111fe7de4f9794d727d547e5ea17c79f.zip
dev-libs/mtxclient: add pie USE-flag
Closes: https://bugs.gentoo.org/890895 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/mtxclient/mtxclient-0.9.1.ebuild3
1 files changed, 2 insertions, 1 deletions
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