@@ -13763,7 +13763,7 @@ if test "$enable_lto" = "yes" || test "$enable_lto" = "probe"; then
$as_echo_n "checking if C compiler supports LTO... " >&6; }
OLD_CFLAGS="$CFLAGS"
OLD_LDFLAGS="$LDFLAGS"
- LTO_FLAGS="-flto -ffat-lto-objects"
+ LTO_FLAGS="-g -flto -ffat-lto-objects"
CFLAGS="$CFLAGS $LTO_FLAGS"
LDFLAGS="$LDFLAGS $LTO_FLAGS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1305,7 +1305,7 @@ if test "$enable_lto" = "yes" || test "$enable_lto" = "probe"; then
AC_MSG_CHECKING([if C compiler supports LTO])
OLD_CFLAGS="$CFLAGS"
OLD_LDFLAGS="$LDFLAGS"
- LTO_FLAGS="-flto -ffat-lto-objects"
+ LTO_FLAGS="-g -flto -ffat-lto-objects"
CFLAGS="$CFLAGS $LTO_FLAGS"
LDFLAGS="$LDFLAGS $LTO_FLAGS"
AC_LINK_IFELSE([AC_LANG_PROGRAM([])],
Signed-off-by: Theodore Ts'o <tytso@mit.edu> --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)