pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/wrapper SunPro understands -Wl,* and passes to the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ea8519b96c3c
branches:  trunk
changeset: 483310:ea8519b96c3c
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Wed Nov 10 16:20:40 2004 +0000

description:
SunPro understands -Wl,* and passes to the relevant backend, so don't bin it.

Fixes at least graphics/netpbm.

diffstat:

 mk/wrapper/transform-sunpro-cc |  12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 9f766ee61233 -r ea8519b96c3c mk/wrapper/transform-sunpro-cc
--- a/mk/wrapper/transform-sunpro-cc    Wed Nov 10 16:20:15 2004 +0000
+++ b/mk/wrapper/transform-sunpro-cc    Wed Nov 10 16:20:40 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: transform-sunpro-cc,v 1.1 2004/09/21 15:01:41 jlam Exp $
+# $NetBSD: transform-sunpro-cc,v 1.2 2004/11/10 16:20:40 sketch Exp $
 #
 # Copyright (c) 2004 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -63,8 +63,14 @@
        addtocache=yes
        ;;
 ######################################################################
-# SunPro compilers don't even understand any -W* arguments, so just
-# silently ignore them all.
+# SunPro compiler accepts -Wl,* so just pass it on through.
+######################################################################
+-Wl,*)
+       addtocache=yes
+       ;;
+######################################################################
+# SunPro compilers don't understand any other -W* arguments, so just
+# silently ignore the rest.
 ######################################################################
 -W*)
        arg=



Home | Main Index | Thread Index | Old Index