4 # LTM_CFLAGS is given to ./configure by the user,
5 # DROPBEAR_LTM_CFLAGS is substituted in the LTM Makefile.in
6 DROPBEAR_LTM_CFLAGS="$LTM_CFLAGS"
7 -if test -z "$DROPBEAR_LTM_CFLAGS"; then
8 - DROPBEAR_LTM_CFLAGS="-O3 -funroll-loops -fomit-frame-pointer"
10 -AC_MSG_NOTICE(Setting LTM_CFLAGS to $DROPBEAR_LTM_CFLAGS)
11 -AC_ARG_VAR(LTM_CFLAGS, CFLAGS for bundled libtommath. Default -O3 -funroll-loops -fomit-frame-pointer)
12 +AC_MSG_NOTICE(Setting LTM_CFLAGS to '$DROPBEAR_LTM_CFLAGS')
13 +AC_ARG_VAR(LTM_CFLAGS, CFLAGS for bundled libtommath. Defaults to empty string)
14 AC_SUBST(DROPBEAR_LTM_CFLAGS)
16 AC_MSG_NOTICE([Checking if compiler '$CC' supports -Wno-pointer-sign])
17 --- a/libtomcrypt/src/headers/tomcrypt_dropbear.h
18 +++ b/libtomcrypt/src/headers/tomcrypt_dropbear.h
21 /* Use small code where possible */
22 #if DROPBEAR_SMALL_CODE
23 +#ifndef LTC_SMALL_CODE
24 #define LTC_SMALL_CODE
28 /* Fewer entries needed */