diff options
author | tnn <tnn> | 2007-04-29 13:16:48 +0000 |
---|---|---|
committer | tnn <tnn> | 2007-04-29 13:16:48 +0000 |
commit | 0c2cf82ad4b881400f959319fc042833c0ae2988 (patch) | |
tree | 1706f6506b8da12b679e3e6ff94af70533fc3489 /mk/wrapper | |
parent | bfdd9d760f0c11952ca91e8f6bc18b4f7288a114 (diff) | |
download | pkgsrc-0c2cf82ad4b881400f959319fc042833c0ae2988.tar.gz |
--version-script is GNU ld specific, remove from command line.
Diffstat (limited to 'mk/wrapper')
-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 ;; |