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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Sep 11 14:59:56 UTC 2018


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

New commits:
commit 4ca492f11e41bb8c539a3295cde60f1bc92bcd5c
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Sep 11 14:51:48 2018 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Sep 11 16:59:32 2018 +0200

    Better check for MSVC
    
    Change-Id: Ida9197e662f4f13baf834e54e2ff4f7dff65160f
    Reviewed-on: https://gerrit.libreoffice.org/60312
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/configure.ac b/configure.ac
index 56b798644f9f..c2f9a22a7892 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6413,7 +6413,7 @@ AC_LANG_PUSH([C++])
 save_CXXFLAGS=$CXXFLAGS
 CXXFLAGS="$CXXFLAGS $CXXFLAGS_CXX11"
 dnl Unknown attributes must be ignored by compilers, but they do emit warnings about them:
-if test "$_os" = WINNT; then
+if test "$COM" = MSC; then
     CXXFLAGS="$CXXFLAGS /WX"
 else
     CXXFLAGS="$CXXFLAGS -Werror"


More information about the Libreoffice-commits mailing list