pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/wrapper add -xnolibmopt after -fast to disable the ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/97144a854c39
branches: trunk
changeset: 498331:97144a854c39
user: grant <grant%pkgsrc.org@localhost>
date: Sat Aug 20 02:11:15 2005 +0000
description:
add -xnolibmopt after -fast to disable the use of libsunmath (until it
can be sanely statically linked).
diffstat:
mk/wrapper/transform-sunpro-cc | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
diffs (32 lines):
diff -r 45182a9ac7e4 -r 97144a854c39 mk/wrapper/transform-sunpro-cc
--- a/mk/wrapper/transform-sunpro-cc Sat Aug 20 02:09:04 2005 +0000
+++ b/mk/wrapper/transform-sunpro-cc Sat Aug 20 02:11:15 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: transform-sunpro-cc,v 1.8 2005/08/18 05:04:49 grant Exp $
+# $NetBSD: transform-sunpro-cc,v 1.9 2005/08/20 02:11:15 grant Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -128,9 +128,21 @@
split_arg=yes
;;
######################################################################
+# -fast implies -xlibmopt, which uses the optimized math routines in
+# libsunmath. libsunmath is only available as part of SunPro, so
+# disable the use of the optimized math library (at least until it can
+# be statically linked).
+######################################################################
+-fast)
+ arg="-fast -xnolibmopt"
+ msg_log $wrapperlog " (transform-sunpro-cc) to: $arg"
+ addtocache=yes
+ split_arg=yes
+ ;;
+######################################################################
# Pass through -f flags that SunPro understands.
######################################################################
--fast|-fd|-features*|-flags|-flteval*|-fnonstd*|-fns*|-fprecision*|-fround*|-fsimple*|-fsingle|-fstore|-ftrap*)
+-fd|-features*|-flags|-flteval*|-fnonstd*|-fns*|-fprecision*|-fround*|-fsimple*|-fsingle|-fstore|-ftrap*)
addtocache=yes
;;
######################################################################
Home |
Main Index |
Thread Index |
Old Index