From 310111e0939700d71b484640f7bd7e75905b63b8 Mon Sep 17 00:00:00 2001 From: DesWurstes Date: Mon, 25 Feb 2019 11:34:52 +0300 Subject: [PATCH 1/2] Keep LDFLAGS if `--coverage` --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3b7a328c8af0a..55e86a768a83b 100644 --- a/configure.ac +++ b/configure.ac @@ -156,7 +156,7 @@ AC_CHECK_TYPES([__int128]) if test x"$enable_coverage" = x"yes"; then AC_DEFINE(COVERAGE, 1, [Define this symbol to compile out all VERIFY code]) CFLAGS="$CFLAGS -O0 --coverage" - LDFLAGS="--coverage" + LDFLAGS="$LDFLAGS --coverage" else CFLAGS="$CFLAGS -O3" fi From dbed75d96915d410036ea47cae0110d35ea6b131 Mon Sep 17 00:00:00 2001 From: DesWurstes Date: Mon, 25 Feb 2019 11:36:39 +0300 Subject: [PATCH 2/2] Undefine `STATIC_PRECOMPUTATION` if using the basic config --- src/basic-config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/basic-config.h b/src/basic-config.h index fc588061ca40c..8a4ade6318dd4 100644 --- a/src/basic-config.h +++ b/src/basic-config.h @@ -10,6 +10,7 @@ #ifdef USE_BASIC_CONFIG #undef USE_ASM_X86_64 +#undef USE_ECMULT_STATIC_PRECOMPUTATION #undef USE_ENDOMORPHISM #undef USE_FIELD_10X26 #undef USE_FIELD_5X52