From 6398d8fd813490fc3900baf8c788f803d8e17b73 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Fri, 7 Feb 2014 19:23:28 +0100 Subject: configure: clang: add -Qunused-arguments to as|ld_flags as well --- configure | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 81a4c7ae27..023042fb68 100755 --- a/configure +++ b/configure @@ -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,*' -- cgit v1.2.3