summaryrefslogtreecommitdiff
path: root/mk/wrapper/cmd-sink-aix-xlc
diff options
context:
space:
mode:
Diffstat (limited to 'mk/wrapper/cmd-sink-aix-xlc')
-rw-r--r--mk/wrapper/cmd-sink-aix-xlc15
1 files changed, 13 insertions, 2 deletions
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*)