summaryrefslogtreecommitdiff
path: root/mk/wrapper
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-11-27 18:01:17 +0000
committerjoerg <joerg@pkgsrc.org>2008-11-27 18:01:17 +0000
commit8be94cdec071fa359e1709120d6829dfeed80e38 (patch)
tree1234301cfbe27d81692effc87c67f951d0cb21b0 /mk/wrapper
parentb180d9c98b805c8c3f663fb3fab7adefecb36aa4 (diff)
downloadpkgsrc-8be94cdec071fa359e1709120d6829dfeed80e38.tar.gz
Explicitly pass down -brtl for the linker, not the compiler. From Jens
Rehsack.
Diffstat (limited to 'mk/wrapper')
-rw-r--r--mk/wrapper/cmd-sink-aix-xlc4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/wrapper/cmd-sink-aix-xlc b/mk/wrapper/cmd-sink-aix-xlc
index cddf75ebc04..3ae36b1770c 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.5 2008/11/14 14:04:12 joerg Exp $
+# $NetBSD: cmd-sink-aix-xlc,v 1.6 2008/11/27 18:01:17 joerg Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -89,7 +89,7 @@ $debug_log $wrapperlog " (cmd-sink-aix-xlc) pop: $arg"
# Force dynamic linkage on AIX to get preference of dynamic libraries
# over library archives.
if $test "$dont_link" != "yes"; then
- arg="-brtl"
+ arg="-Wl,-brtl"
$debug_log $wrapperlog " (cmd-sink-aix-xlc) pop: $arg"
. $buildcmd
fi