diff options
author | sno <sno@pkgsrc.org> | 2009-05-30 16:08:03 +0000 |
---|---|---|
committer | sno <sno@pkgsrc.org> | 2009-05-30 16:08:03 +0000 |
commit | f9f97c3385ab97e7ccb32e3cea38285937792f68 (patch) | |
tree | dd39e1c1c61c7811dd457899f3700205ee1639f6 /mk/wrapper | |
parent | 5ea0cfaf5b1bd2422a53ef31b65b826dbc019e84 (diff) | |
download | pkgsrc-f9f97c3385ab97e7ccb32e3cea38285937792f68.tar.gz |
add some argument wrappers after studying xlc manpage
Diffstat (limited to 'mk/wrapper')
-rw-r--r-- | mk/wrapper/cmd-sink-aix-cc | 15 | ||||
-rw-r--r-- | mk/wrapper/cmd-sink-aix-xlc | 15 |
2 files changed, 26 insertions, 4 deletions
diff --git a/mk/wrapper/cmd-sink-aix-cc b/mk/wrapper/cmd-sink-aix-cc index 5d866e2d341..e1b8b77a2d2 100644 --- a/mk/wrapper/cmd-sink-aix-cc +++ b/mk/wrapper/cmd-sink-aix-cc @@ -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 @@ while ! queue_is_empty cmdbuf; do 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 --git a/mk/wrapper/cmd-sink-aix-xlc b/mk/wrapper/cmd-sink-aix-xlc index cd901109b87..c29f479656c 100644 --- a/mk/wrapper/cmd-sink-aix-xlc +++ b/mk/wrapper/cmd-sink-aix-xlc @@ -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 @@ while ! queue_is_empty cmdbuf; do 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*) |