]> code.ossystems Code Review - openembedded-core.git/commitdiff
json-c: Don't --enable-rdrand
authorAdrian Bunk <bunk@stusta.de>
Sun, 29 Sep 2019 20:46:25 +0000 (23:46 +0300)
committerArmin Kuster <akuster808@gmail.com>
Sun, 6 Oct 2019 20:50:05 +0000 (13:50 -0700)
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]

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/json-c/json-c_0.13.1.bb

index 5b10e682978fe7a85f07de7ad1638b4a808d2f0e..e6a38995cb0ea97216fea06c860b638b024ab91d 100644 (file)
@@ -20,8 +20,6 @@ RPROVIDES_${PN} = "libjson"
 
 inherit autotools
 
-EXTRA_OECONF = "--enable-rdrand"
-
 do_configure_prepend() {
     # Clean up autoconf cruft that should not be in the tarball
     rm -f ${S}/config.status