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

Luboš Luňák (via logerrit) logerrit at kemper.freedesktop.org
Mon May 6 10:37:12 UTC 2019


 configure.ac |    9 ---------
 1 file changed, 9 deletions(-)

New commits:
commit 791fd6c935dd9420aec97319c61475c1bc97591e
Author:     Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Sat Mar 9 22:44:42 2019 +0100
Commit:     Luboš Luňák <l.lunak at collabora.com>
CommitDate: Mon May 6 12:36:16 2019 +0200

    PCH works fine with compiler plugins
    
    No idea why this has been disabled, Clang can handle both plugins
    and PCH at the same time.
    
    Change-Id: I957b57f5f86b041c0437a121990b40bfa0095a0d
    Reviewed-on: https://gerrit.libreoffice.org/71564
    Tested-by: Jenkins
    Reviewed-by: Luboš Luňák <l.lunak at collabora.com>

diff --git a/configure.ac b/configure.ac
index a0cf4cda626f..020e3b75ed42 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5036,15 +5036,6 @@ dnl ===================================================================
 dnl enable pch by default on windows
 dnl enable it explicitly otherwise
 ENABLE_PCH=""
-if test "$enable_pch" = yes -a "$enable_compiler_plugins" = yes; then
-    if test -z "$libo_fuzzed_enable_pch"; then
-        AC_MSG_ERROR([--enable-pch cannot be used with --enable-compiler-plugins])
-    else
-        AC_MSG_NOTICE([Resetting --enable-pch=no])
-        enable_pch=no
-    fi
-fi
-
 AC_MSG_CHECKING([whether to enable pch feature])
 if test "$enable_pch" != "no"; then
     if test "$_os" = "WINNT"; then


More information about the Libreoffice-commits mailing list