configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4ca492f11e41bb8c539a3295cde60f1bc92bcd5c
Author: Stephan Bergmann <[email protected]>
AuthorDate: Tue Sep 11 14:51:48 2018 +0200
Commit: Stephan Bergmann <[email protected]>
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 <[email protected]>
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"
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits