summaryrefslogtreecommitdiff
path: root/mk/wrapper
diff options
context:
space:
mode:
authorsketch <sketch@pkgsrc.org>2004-11-10 16:20:40 +0000
committersketch <sketch@pkgsrc.org>2004-11-10 16:20:40 +0000
commit1179064a1d6e5277e0096893dbdf1703fd524a44 (patch)
tree4d8a3a0417197df4019b4876ac32b1f8709056ac /mk/wrapper
parentb5ecafd361879133afd009176ed9259f2db797c3 (diff)
downloadpkgsrc-1179064a1d6e5277e0096893dbdf1703fd524a44.tar.gz
SunPro understands -Wl,* and passes to the relevant backend, so don't bin it.
Fixes at least graphics/netpbm.
Diffstat (limited to 'mk/wrapper')
-rw-r--r--mk/wrapper/transform-sunpro-cc12
1 files changed, 9 insertions, 3 deletions
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=