summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2020-04-17 13:36:26 +0000
committerjoerg <joerg@pkgsrc.org>2020-04-17 13:36:26 +0000
commit631285ab47f5b4d53b7ce5c83dc361a135818b90 (patch)
tree252f52e21d44dc1238270da09a1dd618ba294372 /mk
parent1c088b9970402e7b7cc07a84a8732dc517ef2dc1 (diff)
downloadpkgsrc-631285ab47f5b4d53b7ce5c83dc361a135818b90.tar.gz
Adjust last to really prepend in the case of cwrappers.
Diffstat (limited to 'mk')
-rw-r--r--mk/compiler/clang.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/compiler/clang.mk b/mk/compiler/clang.mk
index a16f5e6d451..b9264142741 100644
--- a/mk/compiler/clang.mk
+++ b/mk/compiler/clang.mk
@@ -1,4 +1,4 @@
-# $NetBSD: clang.mk,v 1.24 2020/04/17 13:35:36 joerg Exp $
+# $NetBSD: clang.mk,v 1.25 2020/04/17 13:36:26 joerg Exp $
#
# This is the compiler definition for the clang compiler.
#
@@ -91,7 +91,8 @@ PKGSRC_FORTRAN?=gfortran
.endif
_WRAP_EXTRA_ARGS.CC+= -Qunused-arguments -fcommon
-CWRAPPERS_APPEND.cc+= -Qunused-arguments -fcommon
+CWRAPPERS_APPEND.cc+= -Qunused-arguments
+CWRAPPERS_PREPEND.cc+= -Qunused-arguments -fcommon
_WRAP_EXTRA_ARGS.CXX+= -Qunused-arguments
CWRAPPERS_APPEND.cxx+= -Qunused-arguments