summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2012-10-30 22:57:37 +0100
committerMartin Storsjö <martin@martin.st>2012-12-31 12:34:30 +0200
commit506409776c49910050f3150d0e51d11b44d323ed (patch)
treede17be4ab0cadfa2e0e9dfa38af151820e84f831 /configure
parentbcb8d9eb8ff6e8f1e4c02d0143407373cffdbdeb (diff)
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@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
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 ;;