From: Adrian Bunk Date: Sun, 29 Sep 2019 20:46:25 +0000 (+0300) Subject: json-c: Don't --enable-rdrand X-Git-Tag: 2018-10.4-thud~17 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=fad633eb5c464d4e2a984b9259625bcd150ee357;p=openembedded-core.git 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] Signed-off-by: Adrian Bunk Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- 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 5b10e68297..e6a38995cb 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 @@ -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