[Libreoffice-commits] core.git: configure.ac

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Wed Sep 9 19:29:18 UTC 2020


 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 619d518014b7998dc40288b1276ecd49f678ada9
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Sep 9 20:03:22 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Sep 9 21:28:34 2020 +0200

    Fix AC_RUN_IFELSE for cross-compilation builds
    
    Regression introduced with ad6ef813e9d745d44719dae381d64cdcc2f82719 "Guard
    against some GCC consteval bug".
    
    Change-Id: Ie2853b0b391425faf0ae6a956c56df3002ee73bb
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102333
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/configure.ac b/configure.ac
index bfa0d28e5969..eec433754275 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6819,7 +6819,7 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([
     ])], [
         AC_DEFINE([HAVE_CPP_CONSTEVAL],[1])
         AC_MSG_RESULT([yes])
-    ], [AC_MSG_RESULT([no])])
+    ], [AC_MSG_RESULT([no])], [AC_MSG_RESULT([assumed no (cross compiling)])])
 CXXFLAGS=$save_CXXFLAGS
 AC_LANG_POP([C++])
 


More information about the Libreoffice-commits mailing list