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/74f8f57b0a77
branches:  trunk
changeset: 393944:74f8f57b0a77
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 9b87bb99af8a -r 74f8f57b0a77 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 9b87bb99af8a -r 74f8f57b0a77 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