summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2009-05-30 16:08:03 +0000
committersno <sno@pkgsrc.org>2009-05-30 16:08:03 +0000
commitdf20499cfaa6119bdf09c41a7f1b0b651ecf2761 (patch)
treedd39e1c1c61c7811dd457899f3700205ee1639f6 /mk
parent71414b1ead2eda7acfc9695f64a403f10fa03c7f (diff)
downloadpkgsrc-df20499cfaa6119bdf09c41a7f1b0b651ecf2761.tar.gz
add some argument wrappers after studying xlc manpage
Diffstat (limited to 'mk')
-rw-r--r--mk/wrapper/cmd-sink-aix-cc15
-rw-r--r--mk/wrapper/cmd-sink-aix-xlc15
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*)