Skip to contentSkip to conversation

json-c: Don't --enable-rdrand

PATCH New Adrian Bunk 1 participant 1 message Sep 20, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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]

---
 meta/recipes-devtools/json-c/json-c_0.13.1.bb | 1 -
 1 file changed, 1 deletion(-)
meta/recipes-devtools/json-c/json-c_0.13.1.bb +0 -1
index 9d8f2e7870..9654e60a3d 100644
@@ -23,7 +23,6 @@ RPROVIDES_${PN} = "libjson"
 inherit autotools
 
 EXTRA_OECONF = "--disable-werror \
-                --enable-rdrand \
                 "
 
 do_configure_prepend() {
Signature · 1 line
2.17.1