From d8653fbdad025a9be706f006ce8482a50610f1b3 Mon Sep 17 00:00:00 2001 From: "Ronny (tastytea) Gutbrod" Date: Mon, 23 Jan 2023 13:42:51 +0100 Subject: [PATCH] net-im/nheko: add pie USE-flag Closes: https://bugs.gentoo.org/890903 Signed-off-by: Ronny (tastytea) Gutbrod --- net-im/nheko/nheko-0.11.1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net-im/nheko/nheko-0.11.1.ebuild b/net-im/nheko/nheko-0.11.1.ebuild index d22492e869..5e82ec12f2 100644 --- a/net-im/nheko/nheko-0.11.1.ebuild +++ b/net-im/nheko/nheko-0.11.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/Nheko-Reborn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" -IUSE="X video voip" +IUSE="X +pie video voip" REQUIRED_USE="video? ( voip )" MY_GST_V="1.18" @@ -68,6 +68,7 @@ BDEPEND=" src_configure() { local -a mycmakeargs=( "-DVOIP=$(usex voip)" + "-DCMAKE_POSITION_INDEPENDENT_CODE=$(usex pie)" ) if use video && use X; then mycmakeargs+=("-DSCREENSHARE_X11=yes")