diff --git a/configure b/configure index c0eb45f2..557ac101 100755 --- a/configure +++ b/configure @@ -3973,7 +3973,7 @@ fi if test "$GCC" = yes; then - CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes" + CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes -flto=auto -ffat-lto-objects" fi if test "$ac_cv_perlartifacts" = "yes" ; then diff --git a/configure.in b/configure.in index 6c5dba32..dfe2d118 100644 --- a/configure.in +++ b/configure.in @@ -47,7 +47,7 @@ AC_FUNC_UTIME_NULL AC_HEADER_TIME if test "$GCC" = yes; then - CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes" + CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes -flto=auto -ffat-lto-objects" fi if test "$ac_cv_perlartifacts" = "yes" ; then