From 506409776c49910050f3150d0e51d11b44d323ed Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Tue, 30 Oct 2012 22:57:37 +0100 Subject: [PATCH] configure: suppress -fPIC in msvc builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MSVC doesn't understand the option, and emits a warning on every call to cl.exe. Signed-off-by: Martin Storsjö --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 0ede1d53c3..e87a3261de 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 ;;