summaryrefslogtreecommitdiff
path: root/mk/wrapper
diff options
context:
space:
mode:
authorrillig <rillig>2007-01-14 18:56:25 +0000
committerrillig <rillig>2007-01-14 18:56:25 +0000
commit5a8a64e9405f254f26a4ead94acca9e9245e62f2 (patch)
treedc6c7a0835c888961eff3c4e1b47316f680328ba /mk/wrapper
parent1466197ef8a693b760f939fbef97356fdac55ca6 (diff)
downloadpkgsrc-5a8a64e9405f254f26a4ead94acca9e9245e62f2.tar.gz
Options to subprocesses like the assember must pass the transformations.
They are _not_ GCC warnings, although they start with -W.
Diffstat (limited to 'mk/wrapper')
-rw-r--r--mk/wrapper/transform-sunpro-cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/mk/wrapper/transform-sunpro-cc b/mk/wrapper/transform-sunpro-cc
index ed1921f6d5c..235acd0d5d3 100644
--- a/mk/wrapper/transform-sunpro-cc
+++ b/mk/wrapper/transform-sunpro-cc
@@ -1,4 +1,4 @@
-# $NetBSD: transform-sunpro-cc,v 1.21 2006/12/18 00:21:31 rillig Exp $
+# $NetBSD: transform-sunpro-cc,v 1.22 2007/01/14 18:56:25 rillig Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -66,16 +66,13 @@ case $arg in
-Wl,--export-dynamic |\
-Wl,-E ) transform_discard ;;
-# Let the options to the linker pass unmodified.
--Wl,* ) transform_pass ;;
+-W[02aclmop],* ) transform_pass ;;
# Ignore options that are probably meant for GCC.
-W* ) transform_discard_with_warning ;;
-# Solaris' linker uses -Bstatic to create static objects.
-static ) transform_to "-Bstatic" ;;
-# Solaris' linker uses -G to create shared objects.
--export-dynamic |\
-shared ) transform_to "-G" ;;