Hi!

Attached patch silences a few warnings when compiling with cl.exe or
clang-cl.exe.
Or are there any working options?

Please comment, Carl Eugen
From c1c8a1aad6651e9316863b582912e66231b89924 Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <ceffm...@gmail.com>
Date: Wed, 1 Apr 2020 16:57:40 +0200
Subject: [PATCH] configure: Filter -Wl, linker flags out for msvc compilation.

---
 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 21827eeb45..a0ecb2a374 100755
--- a/configure
+++ b/configure
@@ -4438,6 +4438,7 @@ msvc_common_flags(){
             -l*)                  echo ${flag#-l}.lib ;;
             -LARGEADDRESSAWARE)   echo $flag ;;
             -L*)                  echo -libpath:${flag#-L} ;;
+            -Wl,*)                ;;
             *)                    echo $flag ;;
         esac
     done
-- 
2.24.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to