pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Convert -static to -Bstatic.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0fbafbba5c9e
branches:  trunk
changeset: 477482:0fbafbba5c9e
user:      salo <salo%pkgsrc.org@localhost>
date:      Sat Jul 03 20:39:26 2004 +0000

description:
Convert -static to -Bstatic.

diffstat:

 mk/buildlink3/sunpro-cc-post-logic |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 31aa91f31764 -r 0fbafbba5c9e mk/buildlink3/sunpro-cc-post-logic
--- a/mk/buildlink3/sunpro-cc-post-logic        Sat Jul 03 17:13:33 2004 +0000
+++ b/mk/buildlink3/sunpro-cc-post-logic        Sat Jul 03 20:39:26 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: sunpro-cc-post-logic,v 1.8 2004/06/13 08:50:15 grant Exp $
+# $NetBSD: sunpro-cc-post-logic,v 1.9 2004/07/03 20:39:26 salo Exp $
 #
 # Silently accept some GCC compiler arguments by silently converting
 # them to the SunPro compiler equivalents.  This makes the SunPro
@@ -67,4 +67,9 @@
        arg=-G
        addtoprivatecache=yes
        ;;
+-static)
+       # Solaris' linked uses -Bstatic to create static objects.
+       #
+       arg=-Bstatic
+       addtoprivatecacheýes
 esac



Home | Main Index | Thread Index | Old Index