pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/buildlink3 explicitly don't transform "-Wl,*", fixi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/db5c2071758b
branches:  trunk
changeset: 477844:db5c2071758b
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat Jul 10 12:55:08 2004 +0000

description:
explicitly don't transform "-Wl,*", fixing a bug that meant we were
throwing away all -W arguments that weren't -Wl,-R.

fixes building of a number of packages on Solaris.

diffstat:

 mk/buildlink3/sunpro-cc-post-logic |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r dc157e444f88 -r db5c2071758b mk/buildlink3/sunpro-cc-post-logic
--- a/mk/buildlink3/sunpro-cc-post-logic        Sat Jul 10 12:38:04 2004 +0000
+++ b/mk/buildlink3/sunpro-cc-post-logic        Sat Jul 10 12:55:08 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: sunpro-cc-post-logic,v 1.11 2004/07/04 08:30:46 grant Exp $
+# $NetBSD: sunpro-cc-post-logic,v 1.12 2004/07/10 12:55:08 grant Exp $
 #
 # Silently accept some GCC compiler arguments by silently converting
 # them to the SunPro compiler equivalents.  This makes the SunPro
@@ -28,6 +28,10 @@
        arg=`$echo "X$arg" | $Xsed -e "s|^-Wl,||g" -e "s|,| |g"`
        addtoprivatecache=yes
        ;;
+-Wl,*)
+       # Explicitly do nothing to preserve arguments to be passed to
+       # the linker.
+       ;;
 -W*)
        # In fact, SunPro compilers don't even understand any -W*
        # arguments, so just silently ignore them all.



Home | Main Index | Thread Index | Old Index