summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2018-11-20 09:21:23 +0000
committermaya <maya@pkgsrc.org>2018-11-20 09:21:23 +0000
commitd3c128f41b0194d2280a09f197282bf7aa48b41a (patch)
tree0b39c420eed2129e684e1e37027a3ef84981427c /mk
parent3b2af5cdafe9d76fe0bd4bafb945470c9b329641 (diff)
downloadpkgsrc-d3c128f41b0194d2280a09f197282bf7aa48b41a.tar.gz
Add a rule for -Wp,-MD, which isn't provided by MIPSPro.
MDupdate is the equivalent. From duck in PR pkg/48424.
Diffstat (limited to 'mk')
-rw-r--r--mk/wrapper/transform-mipspro-cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/wrapper/transform-mipspro-cc b/mk/wrapper/transform-mipspro-cc
index ad526f2d7a1..1d6c7b99561 100644
--- a/mk/wrapper/transform-mipspro-cc
+++ b/mk/wrapper/transform-mipspro-cc
@@ -1,4 +1,4 @@
-# $NetBSD: transform-mipspro-cc,v 1.12 2018/08/22 20:48:37 maya Exp $
+# $NetBSD: transform-mipspro-cc,v 1.13 2018/11/20 09:21:23 maya Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -61,6 +61,7 @@ case $arg in
-R* ) transform_to "-Wl,-rpath,${arg#-R}" ;;
-Wl,-R* ) transform_to "-Wl,-rpath,${arg#-Wl,-R}" ;;
+-Wp,-MD,* ) transform_to "-Wp,-MDupdate,${arg#-Wp,-MD,}" ;;
# The MIPSpro compiler accepts these -W* directives, so just pass them
# on through.
-W[ablfpR]*,* ) transform_pass ;;