Skip to content

Commit 99f47c2

Browse files
gen_context: Don't use external ASM because it complicates the build
Fixes bitcoin#931.
1 parent 98e0358 commit 99f47c2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/gen_context.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
/* We can't require the precomputed tables when creating them. */
1414
#undef USE_ECMULT_STATIC_PRECOMPUTATION
1515

16+
/* In principle we could use external ASM, but this yields only a minor speedup in
17+
build time and it's very complicated. In particular when cross-compiling, we'd
18+
need to build the external ASM for the build and the host machine. */
19+
#undef USE_EXTERNAL_ASM
20+
1621
#include "include/secp256k1.h"
1722
#include "assumptions.h"
1823
#include "util.h"

0 commit comments

Comments
 (0)