summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/wrapper/cmd-sink-hpux-cc3
-rw-r--r--mk/wrapper/cmd-sink-hpux-ld5
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
;;