[FFmpeg-cvslog] configure: clang: add -Qunused-arguments to as|ld_flags as well

Janne Grunau git at videolan.org
Sat Feb 8 17:25:26 CET 2014


ffmpeg | branch: master | Janne Grunau <janne-libav at jannau.net> | Fri Feb  7 19:23:28 2014 +0100| [6398d8fd813490fc3900baf8c788f803d8e17b73] | committer: Janne Grunau

configure: clang: add -Qunused-arguments to as|ld_flags as well

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6398d8fd813490fc3900baf8c788f803d8e17b73
---

 configure |   12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/configure b/configure
index 81a4c7a..023042f 100755
--- a/configure
+++ b/configure
@@ -4208,6 +4208,18 @@ elif enabled_any msvc icl; then
     fi
 fi
 
+case $as_type in
+    clang)
+        add_asflags -Qunused-arguments
+    ;;
+esac
+
+case $ld_type in
+    clang)
+        check_ldflags -Qunused-arguments
+    ;;
+esac
+
 case $target_os in
     osf1)
         enabled ccc && add_ldflags '-Wl,-expect_unresolved,*'



More information about the ffmpeg-cvslog mailing list