pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/wrapper Add a rule for -Wp, -MD, which isn't provide...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9abe12b1f112
branches:  trunk
changeset: 387524:9abe12b1f112
user:      maya <maya%pkgsrc.org@localhost>
date:      Tue Nov 20 09:21:23 2018 +0000

description:
Add a rule for -Wp,-MD, which isn't provided by MIPSPro.
MDupdate is the equivalent.

>From duck in PR pkg/48424.

diffstat:

 mk/wrapper/transform-mipspro-cc |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 4ef09dbf6c1f -r 9abe12b1f112 mk/wrapper/transform-mipspro-cc
--- a/mk/wrapper/transform-mipspro-cc   Tue Nov 20 09:07:06 2018 +0000
+++ b/mk/wrapper/transform-mipspro-cc   Tue Nov 20 09:21:23 2018 +0000
@@ -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 @@
 -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 ;;



Home | Main Index | Thread Index | Old Index