[FFmpeg-cvslog] configure: suppress -fPIC in msvc builds

Hendrik Leppkes git at videolan.org
Mon Dec 31 14:23:56 CET 2012


ffmpeg | branch: master | Hendrik Leppkes <h.leppkes at gmail.com> | Tue Oct 30 22:57:37 2012 +0100| [506409776c49910050f3150d0e51d11b44d323ed] | committer: Martin Storsjö

configure: suppress -fPIC in msvc builds

MSVC doesn't understand the option, and emits a warning on every
call to cl.exe.

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=506409776c49910050f3150d0e51d11b44d323ed
---

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

diff --git a/configure b/configure
index 0ede1d5..e87a326 100755
--- a/configure
+++ b/configure
@@ -2187,6 +2187,7 @@ msvc_flags(){
             -fno-math-errno)      ;;
             -fno-common)          ;;
             -fno-signed-zeros)    ;;
+            -fPIC)                ;;
             -lz)                  echo zlib.lib ;;
             -lavifil32)           echo vfw32.lib ;;
             -lavicap32)           echo vfw32.lib user32.lib ;;



More information about the ffmpeg-cvslog mailing list