From aeece4459977b69962bcd1e1ee8845c18c74ff8f Mon Sep 17 00:00:00 2001
From: Tim Ruffing <crypto@timruffing.de>
Date: Wed, 14 Jul 2021 11:12:41 +0200
Subject: [PATCH] gen_context: Don't use any ASM

---
 src/gen_context.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/gen_context.c b/src/gen_context.c
index 8fab7aa49d80c..f9176eb996742 100644
--- a/src/gen_context.c
+++ b/src/gen_context.c
@@ -13,10 +13,11 @@
 /* We can't require the precomputed tables when creating them. */
 #undef USE_ECMULT_STATIC_PRECOMPUTATION
 
-/* In principle we could use external ASM, but this yields only a minor speedup in
+/* In principle we could use ASM, but this yields only a minor speedup in
    build time and it's very complicated. In particular when cross-compiling, we'd
-   need to build the external ASM for the build and the host machine. */
+   need to build the ASM for the build and the host machine. */
 #undef USE_EXTERNAL_ASM
+#undef USE_ASM_X86_64
 
 #include "../include/secp256k1.h"
 #include "assumptions.h"