summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-05-20 19:05:20 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-07-05 11:24:15 +0300
commit890e5a5b16a05ab916b03de876383b488cba6de9 (patch)
treecc56be50c3f087c3c59d05228aaa02c42629d01d /dev-libs/json-c/json-c-9999.ebuild
parentmedia-gfx/qimgv: remove old 0.8.8 (diff)
downloadgentoo-890e5a5b16a05ab916b03de876383b488cba6de9.tar.gz
gentoo-890e5a5b16a05ab916b03de876383b488cba6de9.tar.bz2
gentoo-890e5a5b16a05ab916b03de876383b488cba6de9.zip
dev-libs/json-c: add USE flag to enable rdrand support
Closes: https://bugs.gentoo.org/724354 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Closes: https://github.com/gentoo/gentoo/pull/15895 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/json-c/json-c-9999.ebuild')
-rw-r--r--dev-libs/json-c/json-c-9999.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-libs/json-c/json-c-9999.ebuild b/dev-libs/json-c/json-c-9999.ebuild
index eac441be4e78..51583e0b0ad4 100644
--- a/dev-libs/json-c/json-c-9999.ebuild
+++ b/dev-libs/json-c/json-c-9999.ebuild
@@ -12,7 +12,7 @@ EGIT_REPO_URI="https://github.com/json-c/json-c.git"
LICENSE="MIT"
SLOT="0/5"
-IUSE="doc static-libs threads"
+IUSE="cpu-flags-x86-rdrand doc static-libs threads"
MULTILIB_WRAPPED_HEADERS=(
/usr/include/json-c/config.h
@@ -27,6 +27,7 @@ multilib_src_configure() {
-DBUILD_DOCUMENTATION=$(multilib_native_usex doc)
-DDISABLE_WERROR=ON
-DENABLE_THREADING=$(usex threads)
+ -DENABLE_RDRAND=$(usex cpu-flags-x86-rdrand)
-DBUILD_STATIC_LIBS=$(usex static-libs)
)