Merge commit '6398d8fd813490fc3900baf8c788f803d8e17b73'

* commit '6398d8fd813490fc3900baf8c788f803d8e17b73':
  configure: clang: add -Qunused-arguments to as|ld_flags as well

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-02-08 17:14:52 +01:00
commit 3a0e4f6c90
1 changed files with 12 additions and 0 deletions

12
configure vendored
View File

@ -4810,6 +4810,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,*'