mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-22 17:02:58 +02:00
rng-tools: Update to 6.4
Also add a patch that keeps RDRAND enabled on i586 Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> Fixes: #11853
This commit is contained in:
35
src/patches/rng-tools-6-Enable-RDRAND-for-i586-too.patch
Normal file
35
src/patches/rng-tools-6-Enable-RDRAND-for-i586-too.patch
Normal file
@@ -0,0 +1,35 @@
|
||||
From 1f023b49959aa58246e6bb7091ba7710116f6915 Mon Sep 17 00:00:00 2001
|
||||
From: Michael Tremer <michael.tremer@ipfire.org>
|
||||
Date: Sun, 9 Sep 2018 17:29:15 +0100
|
||||
Subject: [PATCH] Enable RDRAND for i586, too
|
||||
|
||||
IPFire is being compiled for i586 omitting some instructions
|
||||
for i686. However, RDRAND is available on some systems and
|
||||
can of course be used.
|
||||
|
||||
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
|
||||
|
||||
Pull request sent: https://github.com/nhorman/rng-tools/pull/31
|
||||
|
||||
---
|
||||
configure.ac | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index faba7cc9857e..716175328ff6 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -53,8 +53,8 @@ AC_CHECK_TOOLS([AR], [ar gar], :)
|
||||
|
||||
AX_PTHREAD
|
||||
|
||||
-AM_CONDITIONAL([RDRAND], [test $target_cpu = x86_64 -o $target_cpu = i686])
|
||||
-AS_IF([test $target_cpu = x86_64 -o $target_cpu = i686], [AC_DEFINE([HAVE_RDRAND],1,[Enable RDRAND])],[])
|
||||
+AM_CONDITIONAL([RDRAND], [test $target_cpu = x86_64 -o $target_cpu = i686 -o $target_cpu = i586])
|
||||
+AS_IF([test $target_cpu = x86_64 -o $target_cpu = i686 -o $target_cpu = i586], [AC_DEFINE([HAVE_RDRAND],1,[Enable RDRAND])],[])
|
||||
|
||||
AM_CONDITIONAL([DARN], [test $target_cpu = powerpc64le])
|
||||
AS_IF([test $target_cpu = powerpc64le], [AC_DEFINE([HAVE_DARN],1,[Enable DARN])],[])
|
||||
--
|
||||
2.17.1
|
||||
|
||||
Reference in New Issue
Block a user