mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
dev-libs/mtxclient: add pie USE-flag
Closes: https://bugs.gentoo.org/890895 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user