From c7d09b8f3cf088a638a7513cd14b2e24600552bc Mon Sep 17 00:00:00 2001 From: tnn Date: Sun, 6 May 2007 10:05:38 +0000 Subject: Back out previous. The packages that incorrectly assume that ld --version-script works are few enough to warrant fixing each one of them instead. Silenty dropping the flag makes it impossible to detect whether or not --version-script is supported. Pointed out by joerg@ --- mk/wrapper/cmd-sink-hpux-cc | 3 --- mk/wrapper/cmd-sink-hpux-ld | 5 +---- 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'mk') diff --git a/mk/wrapper/cmd-sink-hpux-cc b/mk/wrapper/cmd-sink-hpux-cc index 35f0471ab2f..5f5bcf1cc74 100644 --- a/mk/wrapper/cmd-sink-hpux-cc +++ b/mk/wrapper/cmd-sink-hpux-cc @@ -38,9 +38,6 @@ 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 f9065946546..39804938032 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.4 2007/04/29 13:16:48 tnn Exp $ +# $NetBSD: cmd-sink-hpux-ld,v 1.5 2007/05/06 10:05:38 tnn Exp $ # Empty out the command buffer and build up the command line in $cmd. hprunpath= @@ -43,9 +43,6 @@ while ! queue_is_empty cmdbuf; do arg=-O . $buildcmd ;; - # Eat gnu-specific linker flags. - --version-script*) - ;; *) . $buildcmd ;; -- cgit v1.2.3