| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: cmd-sink-aix-xlc,v 1.5 2008/11/14 14:04:12 joerg Exp $ | | 1 | # $NetBSD: cmd-sink-aix-xlc,v 1.6 2008/11/27 18:01:17 joerg Exp $ |
2 | # | | 2 | # |
3 | # Copyright (c) 2004 The NetBSD Foundation, Inc. | | 3 | # Copyright (c) 2004 The NetBSD Foundation, Inc. |
4 | # All rights reserved. | | 4 | # All rights reserved. |
5 | # | | 5 | # |
6 | # This code is derived from software contributed to The NetBSD Foundation | | 6 | # This code is derived from software contributed to The NetBSD Foundation |
7 | # by Johnny C. Lam. | | 7 | # by Johnny C. Lam. |
8 | # | | 8 | # |
9 | # Redistribution and use in source and binary forms, with or without | | 9 | # Redistribution and use in source and binary forms, with or without |
10 | # modification, are permitted provided that the following conditions | | 10 | # modification, are permitted provided that the following conditions |
11 | # are met: | | 11 | # are met: |
12 | # 1. Redistributions of source code must retain the above copyright | | 12 | # 1. Redistributions of source code must retain the above copyright |
13 | # notice, this list of conditions and the following disclaimer. | | 13 | # notice, this list of conditions and the following disclaimer. |
14 | # 2. Redistributions in binary form must reproduce the above copyright | | 14 | # 2. Redistributions in binary form must reproduce the above copyright |
| @@ -79,17 +79,17 @@ done | | | @@ -79,17 +79,17 @@ done |
79 | arg="-Wl,-blibpath:/usr/usr/lib:/lib" | | 79 | arg="-Wl,-blibpath:/usr/usr/lib:/lib" |
80 | if $test -n "$orig_blibpath"; then | | 80 | if $test -n "$orig_blibpath"; then |
81 | arg="$arg:$orig_blibpath" | | 81 | arg="$arg:$orig_blibpath" |
82 | fi | | 82 | fi |
83 | if $test -n "$blibpath"; then | | 83 | if $test -n "$blibpath"; then |
84 | arg="$arg:$blibpath" | | 84 | arg="$arg:$blibpath" |
85 | fi | | 85 | fi |
86 | $debug_log $wrapperlog " (cmd-sink-aix-xlc) pop: $arg" | | 86 | $debug_log $wrapperlog " (cmd-sink-aix-xlc) pop: $arg" |
87 | . $buildcmd | | 87 | . $buildcmd |
88 | | | 88 | |
89 | # Force dynamic linkage on AIX to get preference of dynamic libraries | | 89 | # Force dynamic linkage on AIX to get preference of dynamic libraries |
90 | # over library archives. | | 90 | # over library archives. |
91 | if $test "$dont_link" != "yes"; then | | 91 | if $test "$dont_link" != "yes"; then |
92 | arg="-brtl" | | 92 | arg="-Wl,-brtl" |
93 | $debug_log $wrapperlog " (cmd-sink-aix-xlc) pop: $arg" | | 93 | $debug_log $wrapperlog " (cmd-sink-aix-xlc) pop: $arg" |
94 | . $buildcmd | | 94 | . $buildcmd |
95 | fi | | 95 | fi |