aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2014-02-07 19:23:28 +0100
committerJanne Grunau <janne-libav@jannau.net>2014-02-08 13:38:36 +0100
commit6398d8fd813490fc3900baf8c788f803d8e17b73 (patch)
treed2185e23ed54916e4b754154a5e2ba85a9ef3ca8 /configure
parentb141c7b37eb52aca41ac83738f159b63b9c09d5c (diff)
downloadffmpeg-6398d8fd813490fc3900baf8c788f803d8e17b73.tar.gz
configure: clang: add -Qunused-arguments to as|ld_flags as well
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure b/configure
index 81a4c7ae27..023042fb68 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,*'