Module: libav
Branch: master
Commit: 6398d8fd813490fc3900baf8c788f803d8e17b73

Author:    Janne Grunau <[email protected]>
Committer: Janne Grunau <[email protected]>
Date:      Fri Feb  7 19:23:28 2014 +0100

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

---

 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,*'

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to