Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/configure.ac
Show First 20 Lines • Show All 160 Lines • ▼ Show 20 Lines | |||||
AC_ARG_WITH([asm], [AS_HELP_STRING([--with-asm=x86_64|arm|no|auto] | AC_ARG_WITH([asm], [AS_HELP_STRING([--with-asm=x86_64|arm|no|auto] | ||||
[Specify assembly optimizations to use. Default is auto (experimental: arm)])],[req_asm=$withval], [req_asm=auto]) | [Specify assembly optimizations to use. Default is auto (experimental: arm)])],[req_asm=$withval], [req_asm=auto]) | ||||
AC_CHECK_TYPES([__int128]) | AC_CHECK_TYPES([__int128]) | ||||
if test x"$enable_coverage" = x"yes"; then | if test x"$enable_coverage" = x"yes"; then | ||||
AC_DEFINE(COVERAGE, 1, [Define this symbol to compile out all VERIFY code]) | AC_DEFINE(COVERAGE, 1, [Define this symbol to compile out all VERIFY code]) | ||||
CFLAGS="$CFLAGS -O0 --coverage" | CFLAGS="$CFLAGS -O0 --coverage" | ||||
LDFLAGS="--coverage" | LDFLAGS="$LDFLAGS --coverage" | ||||
else | else | ||||
CFLAGS="$CFLAGS -O3" | CFLAGS="$CFLAGS -O3" | ||||
fi | fi | ||||
if test x"$use_ecmult_static_precomputation" != x"no"; then | if test x"$use_ecmult_static_precomputation" != x"no"; then | ||||
save_cross_compiling=$cross_compiling | save_cross_compiling=$cross_compiling | ||||
cross_compiling=no | cross_compiling=no | ||||
TEMP_CC="$CC" | TEMP_CC="$CC" | ||||
▲ Show 20 Lines • Show All 342 Lines • Show Last 20 Lines |