pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/wrapper Handle more variants of the position indepe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3d169f9a76bc
branches:  trunk
changeset: 534338:3d169f9a76bc
user:      is <is%pkgsrc.org@localhost>
date:      Wed Oct 17 07:30:10 2007 +0000

description:
Handle more variants of the position independent code flag from Solaris.
This is needed for Xaw3d. Fix suggested by joerg@.

diffstat:

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

diffs (18 lines):

diff -r 0cdcfdf583f5 -r 3d169f9a76bc mk/wrapper/transform-gcc
--- a/mk/wrapper/transform-gcc  Wed Oct 17 06:50:56 2007 +0000
+++ b/mk/wrapper/transform-gcc  Wed Oct 17 07:30:10 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: transform-gcc,v 1.17 2007/09/08 13:37:51 rillig Exp $
+# $NetBSD: transform-gcc,v 1.18 2007/10/17 07:30:10 is Exp $
 #
 # This file handles the transformations needed for gcc that can be done
 # looking at only one argument at a time.
@@ -121,6 +121,8 @@
 -fconstant-string-class=* ) transform_pass ;;
 
 # Other compiler's options that have corresponding GCC options.
+-Kpic                  |\
+-kPIC                  |\
 -KPIC                  |\
 -kPIC                  ) transform_to "-fPIC" ;;
 -mt                    ) transform_to "-threads" ;;



Home | Main Index | Thread Index | Old Index