summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2019-09-29 23:46:25 +0300
committerArmin Kuster <akuster808@gmail.com>2019-10-06 13:50:05 -0700
commitfad633eb5c464d4e2a984b9259625bcd150ee357 (patch)
tree74dd9d10ac5f380753b20e0cdfea9a8b21ebf669
parent7857d85db69bcb2cb94399a22de6903263e52965 (diff)
downloadopenembedded-core-contrib-fad633eb5c464d4e2a984b9259625bcd150ee357.tar.gz
openembedded-core-contrib-fad633eb5c464d4e2a984b9259625bcd150ee357.tar.bz2
openembedded-core-contrib-fad633eb5c464d4e2a984b9259625bcd150ee357.zip
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 <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta/recipes-devtools/json-c/json-c_0.13.1.bb2
1 files changed, 0 insertions, 2 deletions
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