From 1179064a1d6e5277e0096893dbdf1703fd524a44 Mon Sep 17 00:00:00 2001 From: sketch Date: Wed, 10 Nov 2004 16:20:40 +0000 Subject: SunPro understands -Wl,* and passes to the relevant backend, so don't bin it. Fixes at least graphics/netpbm. --- mk/wrapper/transform-sunpro-cc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'mk/wrapper') diff --git a/mk/wrapper/transform-sunpro-cc b/mk/wrapper/transform-sunpro-cc index 5d15f6ad81a..44bd5b80b27 100644 --- a/mk/wrapper/transform-sunpro-cc +++ b/mk/wrapper/transform-sunpro-cc @@ -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 @@ case $arg in 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= -- cgit v1.2.3