pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/wrapper transform -fPIC to -qnocommon and clarify t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c28baf664d00
branches:  trunk
changeset: 485701:c28baf664d00
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Dec 19 00:38:59 2004 +0000

description:
transform -fPIC to -qnocommon and clarify the related comment.

diffstat:

 mk/wrapper/transform-xlc-cc |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 2de624d33cae -r c28baf664d00 mk/wrapper/transform-xlc-cc
--- a/mk/wrapper/transform-xlc-cc       Sun Dec 19 00:19:18 2004 +0000
+++ b/mk/wrapper/transform-xlc-cc       Sun Dec 19 00:38:59 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: transform-xlc-cc,v 1.5 2004/12/05 09:27:23 grant Exp $
+# $NetBSD: transform-xlc-cc,v 1.6 2004/12/19 00:38:59 grant Exp $
 #
 # Copyright (c) 2004 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -58,9 +58,10 @@
        split_arg=yes
         ;;
 # -qnocommon is the xlc argument to allocate uninitialized globals in
-# the data section.
--fno-common)
+# the data section for PIC.
+-fno-common|-fPIC)
        arg=-qnocommon
+       msg_log $wrapperlog "   (transform-xlc-cc) to: $arg"
        addtocache=yes
        ;;
 ######################################################################



Home | Main Index | Thread Index | Old Index