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

David Ostrovsky david at ostrovsky.org
Wed Jul 29 03:56:39 PDT 2015


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

New commits:
commit ef8ddd22a9f434fc4de1f4b212ff2467676f576c
Author: David Ostrovsky <david at ostrovsky.org>
Date:   Mon Jul 27 08:02:15 2015 +0200

    Fix -showIncludes generation on MSVC 14.0
    
    Change-Id: I486b2fc9b4d538ac59d4ced41f2c1726d1ad0dfa
    Reviewed-on: https://gerrit.libreoffice.org/17358
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

diff --git a/configure.ac b/configure.ac
old mode 100644
new mode 100755
index ed35010..c97617a
--- a/configure.ac
+++ b/configure.ac
@@ -3696,7 +3696,7 @@ if test "$_os" = "WINNT"; then
         dnl localized
         AC_MSG_CHECKING([the dependency generation prefix (cl.exe -showIncludes)])
         echo "#include <stdlib.h>" > conftest.c
-        SHOWINCLUDES_PREFIX=`$CC -c -showIncludes conftest.c 2>/dev/null | \
+        SHOWINCLUDES_PREFIX=`$CC $CFLAGS -c -showIncludes conftest.c 2>/dev/null | \
             grep 'stdlib\.h' | head -n1 | sed 's/ [[[:alpha:]]]:.*//'`
         rm -f conftest.c conftest.obj
         if test -z "$SHOWINCLUDES_PREFIX"; then


More information about the Libreoffice-commits mailing list