OSDN Git Service

configure: suppress -fPIC in msvc builds
authorHendrik Leppkes <h.leppkes@gmail.com>
Tue, 30 Oct 2012 21:57:37 +0000 (22:57 +0100)
committerMartin Storsjö <martin@martin.st>
Mon, 31 Dec 2012 10:34:30 +0000 (12:34 +0200)
MSVC doesn't understand the option, and emits a warning on every
call to cl.exe.

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

index 0ede1d5..e87a326 100755 (executable)
--- 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 ;;