pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/wrapper Options to subprocesses like the assember m...
details: https://anonhg.NetBSD.org/pkgsrc/rev/61d97374defe
branches: trunk
changeset: 523894:61d97374defe
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Jan 14 18:56:25 2007 +0000
description:
Options to subprocesses like the assember must pass the transformations.
They are _not_ GCC warnings, although they start with -W.
diffstat:
mk/wrapper/transform-sunpro-cc | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (27 lines):
diff -r c20baa3c5d92 -r 61d97374defe mk/wrapper/transform-sunpro-cc
--- a/mk/wrapper/transform-sunpro-cc Sun Jan 14 17:05:02 2007 +0000
+++ b/mk/wrapper/transform-sunpro-cc Sun Jan 14 18:56:25 2007 +0000
@@ -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 @@
-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" ;;
Home |
Main Index |
Thread Index |
Old Index