pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/wrapper --version-script is GNU ld specific, remove...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/797be6d33459
branches:  trunk
changeset: 528324:797be6d33459
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Apr 29 13:16:48 2007 +0000

description:
--version-script is GNU ld specific, remove from command line.

diffstat:

 mk/wrapper/cmd-sink-hpux-cc |  3 +++
 mk/wrapper/cmd-sink-hpux-ld |  5 ++++-
 2 files changed, 7 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 062b322f8dfa -r 797be6d33459 mk/wrapper/cmd-sink-hpux-cc
--- a/mk/wrapper/cmd-sink-hpux-cc       Sun Apr 29 13:09:27 2007 +0000
+++ b/mk/wrapper/cmd-sink-hpux-cc       Sun Apr 29 13:16:48 2007 +0000
@@ -38,6 +38,9 @@
                esac
                $debug_log $wrapperlog "    (cmd-sink-hpux-cc) drop: $dir [adding to hprunpath]"
                ;;
+       # Eat gnu specific linker flags.
+       -Wl,--version-script*)
+               ;;
        *)
                . $buildcmd
                ;;
diff -r 062b322f8dfa -r 797be6d33459 mk/wrapper/cmd-sink-hpux-ld
--- a/mk/wrapper/cmd-sink-hpux-ld       Sun Apr 29 13:09:27 2007 +0000
+++ b/mk/wrapper/cmd-sink-hpux-ld       Sun Apr 29 13:16:48 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: cmd-sink-hpux-ld,v 1.3 2007/04/22 18:56:22 tnn Exp $
+# $NetBSD: cmd-sink-hpux-ld,v 1.4 2007/04/29 13:16:48 tnn Exp $
 
 # Empty out the command buffer and build up the command line in $cmd.
 hprunpath=
@@ -43,6 +43,9 @@
                arg=-O
                . $buildcmd
                ;;
+       # Eat gnu-specific linker flags.
+       --version-script*)
+               ;;
        *)
                . $buildcmd
                ;;



Home | Main Index | Thread Index | Old Index