diff options
author | rillig <rillig@pkgsrc.org> | 2007-01-14 18:56:25 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-01-14 18:56:25 +0000 |
commit | faba91bc57977ddb5074f4549aabefd5897d670e (patch) | |
tree | dc6c7a0835c888961eff3c4e1b47316f680328ba | |
parent | 4325294faec4ce9a2694974b1677c9d8d5e3c480 (diff) | |
download | pkgsrc-faba91bc57977ddb5074f4549aabefd5897d670e.tar.gz |
Options to subprocesses like the assember must pass the transformations.
They are _not_ GCC warnings, although they start with -W.
-rw-r--r-- | mk/wrapper/transform-sunpro-cc | 7 |
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" ;; |