]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fix output of CFLAGS in configure script
authorOndrej Zajicek <santiago@crfreenet.org>
Thu, 1 Aug 2019 12:27:20 +0000 (14:27 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Thu, 1 Aug 2019 12:27:20 +0000 (14:27 +0200)
configure.ac

index 5ec753598b3832acb2a5c8a80e2c63545374e8b6..e0b85bafb78e0756071d34a426f7cb2474c2c31e 100644 (file)
@@ -149,8 +149,6 @@ if test "$bird_cflags_default" = yes ; then
   BIRD_ADD_GCC_OPTION([bird_cv_c_option_fno_strict_aliasing], [-fno-strict-aliasing])
   BIRD_ADD_GCC_OPTION([bird_cv_c_option_fno_strict_overflow], [-fno-strict-overflow])
 fi
-AC_MSG_CHECKING([CFLAGS])
-AC_MSG_RESULT([$CFLAGS])
 
 if test "$enable_debug" = no; then
   BIRD_CHECK_LTO
@@ -161,6 +159,9 @@ if test "$bird_cv_c_lto" = yes; then
   LDFLAGS="$LDFLAGS -flto"
 fi
 
+AC_MSG_CHECKING([CFLAGS])
+AC_MSG_RESULT([$CFLAGS])
+
 AC_PROG_CPP
 AC_PROG_INSTALL
 AC_PROG_RANLIB