Rediff patches

Drop 0008-Enable-cpu-detection-on-amd64.patch: <REASON>
ubuntu/groovy
Jason Rhinelander 4 years ago
parent 3f7ff999e2
commit 8f3dd724be

@ -1,22 +0,0 @@
From: Jason Rhinelander <jason@imaginary.ca>
Date: Wed, 8 Jan 2020 20:44:37 -0400
Subject: Enable cpu detection on amd64
The optional runtime detection shouldn't rely on being compiled in avx2
mode.
---
crypto/libntrup/src/ntru.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/libntrup/src/ntru.cpp b/crypto/libntrup/src/ntru.cpp
index c86451b..fd8f620 100644
--- a/crypto/libntrup/src/ntru.cpp
+++ b/crypto/libntrup/src/ntru.cpp
@@ -1,6 +1,6 @@
#include <libntrup/ntru.h>
-#if __AVX2__
+#ifdef __x86_64__
#include <cpuid.h>
#include <array>

@ -5,4 +5,3 @@
0005-Move-default-user-group-into-deb-patch.patch
0006-Add-no-resolvconf-hack-to-default-config.patch
0007-Pass-debian-version-as-GIT_VERSION.patch
0008-Enable-cpu-detection-on-amd64.patch

Loading…
Cancel
Save