]> git.sesse.net Git - ffmpeg/commitdiff
Merge commit '0ca66409911e9fba940424be8bdfa54e056b0a4b'
authorJames Almer <jamrial@gmail.com>
Sat, 11 Nov 2017 19:56:59 +0000 (16:56 -0300)
committerJames Almer <jamrial@gmail.com>
Sat, 11 Nov 2017 19:56:59 +0000 (16:56 -0300)
* commit '0ca66409911e9fba940424be8bdfa54e056b0a4b':
  configure: Don't add -fPIC to asflags when targeting windows

Merged-by: James Almer <jamrial@gmail.com>
configure

index f1edf815cf1f21c47cb55613dfbaeab2bde530b5..717ae61e24e89ca4bc76a9368554c29badf583c6 100755 (executable)
--- a/configure
+++ b/configure
@@ -5326,9 +5326,9 @@ enable_weak_pic() {
         ;;
     *)
         add_cflags -fPIC
+        add_asflags -fPIC
         ;;
     esac
-    add_asflags  -fPIC
 }
 
 enabled pic && enable_weak_pic