[OE-core] [PATCH] json-c: Don't --enable-rdrand

Adrian Bunk bunk at stusta.de
Fri Sep 20 08:26:19 UTC 2019


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 at stusta.de>
---
 meta/recipes-devtools/json-c/json-c_0.13.1.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-devtools/json-c/json-c_0.13.1.bb b/meta/recipes-devtools/json-c/json-c_0.13.1.bb
index 9d8f2e7870..9654e60a3d 100644
--- a/meta/recipes-devtools/json-c/json-c_0.13.1.bb
+++ b/meta/recipes-devtools/json-c/json-c_0.13.1.bb
@@ -23,7 +23,6 @@ RPROVIDES_${PN} = "libjson"
 inherit autotools
 
 EXTRA_OECONF = "--disable-werror \
-                --enable-rdrand \
                 "
 
 do_configure_prepend() {
-- 
2.17.1



More information about the Openembedded-core mailing list