forked from FFmpeg/FFmpeg
configure: clang: add -Qunused-arguments to as|ld_flags as well
This commit is contained in:
parent
b141c7b37e
commit
6398d8fd81
1 changed files with 12 additions and 0 deletions
12
configure
vendored
12
configure
vendored
|
@ -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,*'
|
||||
|
|
Loading…
Add table
Reference in a new issue