From: Hendrik Leppkes Date: Tue, 30 Oct 2012 21:57:37 +0000 (+0100) Subject: configure: suppress -fPIC in msvc builds X-Git-Tag: v9~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=506409776c49910050f3150d0e51d11b44d323ed;p=platform%2Fupstream%2Flibav.git 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ö --- 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 ;;