mirror of
git://git.yoctoproject.org/poky
synced 2026-04-02 02:49:11 +00:00
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] (From OE-Core rev: fad633eb5c464d4e2a984b9259625bcd150ee357) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
b15ffd14ac
commit
cc0605bad6
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user