configure: clang: add -Qunused-arguments to as|ld_flags as well
This commit is contained in:
parent
b141c7b37e
commit
6398d8fd81
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…
x
Reference in New Issue
Block a user