]> code.ossystems Code Review - openembedded-core.git/commitdiff
json-c: Don't --enable-rdrand
authorAdrian Bunk <bunk@stusta.de>
Fri, 20 Sep 2019 08:26:19 +0000 (11:26 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Sep 2019 12:01:17 +0000 (13:01 +0100)
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>
meta/recipes-devtools/json-c/json-c_0.13.1.bb

index 9d8f2e7870eb4bbb724b6b2438e5d3e01d156944..9654e60a3d23b8537e140676e9547861a2027186 100644 (file)
@@ -23,7 +23,6 @@ RPROVIDES_${PN} = "libjson"
 inherit autotools
 
 EXTRA_OECONF = "--disable-werror \
-                --enable-rdrand \
                 "
 
 do_configure_prepend() {