1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

json-c: Don't --enable-rdrand

In recent years AMD CPUs have had various problems with RDRAND
giving either non-random data or no result at all, which is
problematic if either build or target machine has a CPU with
this problem.

The fallback is /dev/urandom, and I'd trust the kernel here.

--enable-rdrand was added in an upgrade to a new upstream
version without mentioning any reason.

[YOCTO #13534]

(From OE-Core rev: abc51bfa8933dda99b6c82ac37692830315325b3)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Adrian Bunk
2019-09-20 11:26:19 +03:00
committed by Richard Purdie
parent 667200903c
commit 56da8174e7
@@ -23,7 +23,6 @@ RPROVIDES_${PN} = "libjson"
inherit autotools
EXTRA_OECONF = "--disable-werror \
--enable-rdrand \
"
do_configure_prepend() {