summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsno <sno>2009-05-30 16:08:03 +0000
committersno <sno>2009-05-30 16:08:03 +0000
commit0e0552796465e9d07c424bcdd75762163f81b42d (patch)
treedd39e1c1c61c7811dd457899f3700205ee1639f6
parent6f60b868ee58b6e1729ef9c3705ab8cfa8ab3cc6 (diff)
downloadpkgsrc-0e0552796465e9d07c424bcdd75762163f81b42d.tar.gz
add some argument wrappers after studying xlc manpage
-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*)