summaryrefslogtreecommitdiff
path: root/mk/compiler
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-12-03 14:05:25 +0000
committerjoerg <joerg@pkgsrc.org>2014-12-03 14:05:25 +0000
commitc883c292dd63c626501d5632ca0a31545a1c680f (patch)
treec3a7ca9829d48cd18fa876908ac8b12dc6543500 /mk/compiler
parent077db46625a0963bcd20edfb8c9529bd02efafe9 (diff)
downloadpkgsrc-c883c292dd63c626501d5632ca0a31545a1c680f.tar.gz
cwrappers should get -Qunused-arguments too.
Diffstat (limited to 'mk/compiler')
-rw-r--r--mk/compiler/clang.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/compiler/clang.mk b/mk/compiler/clang.mk
index 8d0b22d192c..b009ee147ef 100644
--- a/mk/compiler/clang.mk
+++ b/mk/compiler/clang.mk
@@ -1,4 +1,4 @@
-# $NetBSD: clang.mk,v 1.13 2013/07/31 06:37:27 adam Exp $
+# $NetBSD: clang.mk,v 1.14 2014/12/03 14:05:25 joerg Exp $
#
# This is the compiler definition for the clang compiler.
#
@@ -68,6 +68,8 @@ PKGSRC_FORTRAN?=g95
.endif
_WRAP_EXTRA_ARGS.CC+= -Qunused-arguments
+CWRAPPERS_APPEND.cc+= -Qunused-arguments
_WRAP_EXTRA_ARGS.CXX+= -Qunused-arguments
+CWRAPPERS_APPEND.cxx+= -Qunused-arguments
.endif # COMPILER_CLANG_MK