diff options
author | tnn <tnn@pkgsrc.org> | 2007-04-29 13:16:48 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2007-04-29 13:16:48 +0000 |
commit | 417f311e41fbaf13eaf6f232e7a20327f9c3ac51 (patch) | |
tree | 1706f6506b8da12b679e3e6ff94af70533fc3489 /mk | |
parent | 5e394a02d604dbfc16a1bf186482d94c9976336c (diff) | |
download | pkgsrc-417f311e41fbaf13eaf6f232e7a20327f9c3ac51.tar.gz |
--version-script is GNU ld specific, remove from command line.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/wrapper/cmd-sink-hpux-cc | 3 | ||||
-rw-r--r-- | mk/wrapper/cmd-sink-hpux-ld | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/mk/wrapper/cmd-sink-hpux-cc b/mk/wrapper/cmd-sink-hpux-cc index 5f5bcf1cc74..35f0471ab2f 100644 --- a/mk/wrapper/cmd-sink-hpux-cc +++ b/mk/wrapper/cmd-sink-hpux-cc @@ -38,6 +38,9 @@ while ! queue_is_empty cmdbuf; do esac $debug_log $wrapperlog " (cmd-sink-hpux-cc) drop: $dir [adding to hprunpath]" ;; + # Eat gnu specific linker flags. + -Wl,--version-script*) + ;; *) . $buildcmd ;; diff --git a/mk/wrapper/cmd-sink-hpux-ld b/mk/wrapper/cmd-sink-hpux-ld index 30083974f4d..f9065946546 100644 --- a/mk/wrapper/cmd-sink-hpux-ld +++ b/mk/wrapper/cmd-sink-hpux-ld @@ -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 @@ while ! queue_is_empty cmdbuf; do arg=-O . $buildcmd ;; + # Eat gnu-specific linker flags. + --version-script*) + ;; *) . $buildcmd ;; |