pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/wrapper Handle linker optimization flag.
details: https://anonhg.NetBSD.org/pkgsrc/rev/a4d482acf962
branches: trunk
changeset: 528157:a4d482acf962
user: tnn <tnn%pkgsrc.org@localhost>
date: Sun Apr 22 18:56:22 2007 +0000
description:
Handle linker optimization flag.
diffstat:
mk/wrapper/cmd-sink-hpux-ld | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r fbac21537020 -r a4d482acf962 mk/wrapper/cmd-sink-hpux-ld
--- a/mk/wrapper/cmd-sink-hpux-ld Sun Apr 22 16:48:40 2007 +0000
+++ b/mk/wrapper/cmd-sink-hpux-ld Sun Apr 22 18:56:22 2007 +0000
@@ -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 @@
esac
$debug_log $wrapperlog " (cmd-sink-hpux-ld) drop: $dir [adding to hprunpath]"
;;
+ # Handle linker optimization flag.
+ -O*|+O|+O?)
+ arg=-O
+ . $buildcmd
+ ;;
*)
. $buildcmd
;;
Home |
Main Index |
Thread Index |
Old Index