[vlc-devel] [PATCH 4/7] tools: allow fast dependency with gccwindows (LLVM mingw64) as well as gcc

Steve Lhomme robux4 at ycbcr.xyz
Tue May 14 16:16:31 CEST 2019


---
 extras/tools/automake-clang.patch | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/extras/tools/automake-clang.patch b/extras/tools/automake-clang.patch
index 63fb668f91..d44b83f738 100644
--- a/extras/tools/automake-clang.patch
+++ b/extras/tools/automake-clang.patch
@@ -1,5 +1,5 @@
---- automake/lib/depcomp.clangmsvc	2014-12-31 14:26:32.000000000 +0100
-+++ automake/lib/depcomp	2019-03-01 11:33:02.672713200 +0100
+--- automake/lib/depcomp	2019-03-01 16:29:06.073143400 +0100
++++ automake/lib/depcomp.gccwindows	2019-03-01 16:29:30.646075800 +0100
 @@ -563,6 +563,36 @@ msvc7msys)
    exit 1
    ;;
@@ -37,3 +37,15 @@
  #nosideeffect)
    # This comment above is used by automake to tell side-effect
    # dependency tracking mechanisms from slower ones.
+--- automake/m4/depend.m4	2019-03-01 16:22:29.083243300 +0100
++++ automake/m4/depend.m4.gccwindows	2019-03-01 16:22:36.408049300 +0100
+@@ -152,7 +152,8 @@ fi
+ AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
+ AM_CONDITIONAL([am__fastdep$1], [
+   test "x$enable_dependency_tracking" != xno \
+-  && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
++  && ( test "$am_cv_$1_dependencies_compiler_type" = gcc3 ||
++       test "$am_cv_$1_dependencies_compiler_type" = gccwindows )])
+ ])
+ 
+ 
-- 
2.17.1



More information about the vlc-devel mailing list