mirror of https://github.com/wolfSSL/wolfssl
Configure Update
Revise default compiler optimization flags enable name to something more descriptive.
This commit is contained in:
parent
e6a19bb1e8
commit
e59bb43878
12
configure.ac
12
configure.ac
|
@ -3843,11 +3843,11 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Default optimization enable
|
# Default optimization CFLAGS enable
|
||||||
AC_ARG_ENABLE([optimized],
|
AC_ARG_ENABLE([optflags],
|
||||||
[AS_HELP_STRING([--enable-optimized],[Enable default optimization options (default: enabled)])],
|
[AS_HELP_STRING([--enable-optflags],[Enable default optimization CFLAGS for the compiler (default: enabled)])],
|
||||||
[ ENABLED_OPTIMIZED=$enableval ],
|
[ ENABLED_OPTFLAGS=$enableval ],
|
||||||
[ ENABLED_OPTIMIZED=yes ]
|
[ ENABLED_OPTFLAGS=yes ]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -4064,7 +4064,7 @@ then
|
||||||
AM_CFLAGS="$AM_CFLAGS -Wall -Wno-unused"
|
AM_CFLAGS="$AM_CFLAGS -Wall -Wno-unused"
|
||||||
if test "$ax_enable_debug" = "no"
|
if test "$ax_enable_debug" = "no"
|
||||||
then
|
then
|
||||||
AS_IF([test "x$ENABLED_OPTIMIZED" = "xyes"], [
|
AS_IF([test "x$ENABLED_OPTFLAGS" = "xyes"], [
|
||||||
if test "$ENABLED_FASTMATH" = "yes"
|
if test "$ENABLED_FASTMATH" = "yes"
|
||||||
then
|
then
|
||||||
AM_CFLAGS="$AM_CFLAGS $OPTIMIZE_FAST_CFLAGS"
|
AM_CFLAGS="$AM_CFLAGS $OPTIMIZE_FAST_CFLAGS"
|
||||||
|
|
Loading…
Reference in New Issue