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

pull/43/merge
Janne Grunau 11 years ago
parent b141c7b37e
commit 6398d8fd81
  1. 12
      configure

12
configure vendored

@ -4208,6 +4208,18 @@ elif enabled_any msvc icl; then
fi fi
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 case $target_os in
osf1) osf1)
enabled ccc && add_ldflags '-Wl,-expect_unresolved,*' enabled ccc && add_ldflags '-Wl,-expect_unresolved,*'

Loading…
Cancel
Save