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

This commit is contained in:
Janne Grunau
2014-02-08 13:38:36 +01:00
parent b141c7b37e
commit 6398d8fd81
Vendored
+12
View File
@@ -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,*'