pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/wrapper add some argument wrappers after studying x...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/257da2a6ef29
branches:  trunk
changeset: 559796:257da2a6ef29
user:      sno <sno%pkgsrc.org@localhost>
date:      Sat May 30 16:08:03 2009 +0000

description:
add some argument wrappers after studying xlc manpage

diffstat:

 mk/wrapper/cmd-sink-aix-cc  |  15 +++++++++++++--
 mk/wrapper/cmd-sink-aix-xlc |  15 +++++++++++++--
 2 files changed, 26 insertions(+), 4 deletions(-)

diffs (60 lines):

diff -r 207c1c307474 -r 257da2a6ef29 mk/wrapper/cmd-sink-aix-cc
--- a/mk/wrapper/cmd-sink-aix-cc        Sat May 30 14:47:07 2009 +0000
+++ b/mk/wrapper/cmd-sink-aix-cc        Sat May 30 16:08:03 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: cmd-sink-aix-cc,v 1.6 2009/01/15 16:55:33 joerg Exp $
+# $NetBSD: cmd-sink-aix-cc,v 1.7 2009/05/30 16:08:03 sno Exp $
 #
 # Copyright (c) 2005 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -82,8 +82,19 @@
                esac
                $debug_log $wrapperlog "    (cmd-sink-aix-cc) drop: $dir [adding to blibpath]"
                ;;
+       -pthread)
+               arg=-qthreaded
+               . $buildcmd
+               ;;
+       -fpic)
+       -fPIC)
+               arg=-qpic=large
+               . $buildcmd
+               ;;
        -shared)
-               arg="-bshared"
+               arg=-qmkshrobj
+               . $buildcmd
+               arg=-bshared
                . $buildcmd
                ;;
        -Wl,-soname*)
diff -r 207c1c307474 -r 257da2a6ef29 mk/wrapper/cmd-sink-aix-xlc
--- a/mk/wrapper/cmd-sink-aix-xlc       Sat May 30 14:47:07 2009 +0000
+++ b/mk/wrapper/cmd-sink-aix-xlc       Sat May 30 16:08:03 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: cmd-sink-aix-xlc,v 1.10 2009/01/15 16:55:33 joerg Exp $
+# $NetBSD: cmd-sink-aix-xlc,v 1.11 2009/05/30 16:08:03 sno Exp $
 #
 # Copyright (c) 2004 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -78,8 +78,19 @@
                esac
                $debug_log $wrapperlog "    (cmd-sink-aix-xlc) drop: $dir [adding to blibpath]"
                ;;
+       -pthread)
+               arg=-qthreaded
+               . $buildcmd
+               ;;
+       -fpic)
+       -fPIC)
+               arg=-qpic=large
+               . $buildcmd
+               ;;
        -shared)
-               arg="-bshared"
+               arg=-qmkshrobj
+               . $buildcmd
+               arg=-bshared
                . $buildcmd
                ;;
        -Wl,-soname*)



Home | Main Index | Thread Index | Old Index