diff options
author | tnn <tnn> | 2007-04-22 18:56:22 +0000 |
---|---|---|
committer | tnn <tnn> | 2007-04-22 18:56:22 +0000 |
commit | 7181ecefd721d7ad7dd362d40a0eaf06319ae184 (patch) | |
tree | 148e535dcfa0da261ee8650925612c2f79aa993e /mk/wrapper | |
parent | 3924d8139374c23c3a142607a89f71a6d118c771 (diff) | |
download | pkgsrc-7181ecefd721d7ad7dd362d40a0eaf06319ae184.tar.gz |
Handle linker optimization flag.
Diffstat (limited to 'mk/wrapper')
-rw-r--r-- | mk/wrapper/cmd-sink-hpux-ld | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/wrapper/cmd-sink-hpux-ld b/mk/wrapper/cmd-sink-hpux-ld index 3554a670c1f..30083974f4d 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.2 2007/04/21 01:29:25 tnn Exp $ +# $NetBSD: cmd-sink-hpux-ld,v 1.3 2007/04/22 18:56:22 tnn Exp $ # Empty out the command buffer and build up the command line in $cmd. hprunpath= @@ -38,6 +38,11 @@ while ! queue_is_empty cmdbuf; do esac $debug_log $wrapperlog " (cmd-sink-hpux-ld) drop: $dir [adding to hprunpath]" ;; + # Handle linker optimization flag. + -O*|+O|+O?) + arg=-O + . $buildcmd + ;; *) . $buildcmd ;; |