aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sol2.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-04-14 20:56:27 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2009-04-14 20:56:27 +0100
commit50617257085372785e4385d166b2fba4b634ee54 (patch)
tree7aebeee12ba5968296192d1ce24c978a56a9e9db /gcc/config/sol2.h
parent01459fb5843b26301018bd9c5170f7753b14a04e (diff)
downloadgcc-50617257085372785e4385d166b2fba4b634ee54.zip
gcc-50617257085372785e4385d166b2fba4b634ee54.tar.gz
gcc-50617257085372785e4385d166b2fba4b634ee54.tar.bz2
sol2.h (LINK_ARCH32_SPEC_BASE): Use %R with absolute library paths.
* config/sol2.h (LINK_ARCH32_SPEC_BASE): Use %R with absolute library paths. * config/sparc/sol2-bi.h (LINK_ARCH64_SPEC_BASE): Likewise. From-SVN: r146057
Diffstat (limited to 'gcc/config/sol2.h')
-rw-r--r--gcc/config/sol2.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h
index e3e59fd..173b66d 100644
--- a/gcc/config/sol2.h
+++ b/gcc/config/sol2.h
@@ -157,12 +157,12 @@ along with GCC; see the file COPYING3. If not see
%{YP,*} \
%{R*} \
%{compat-bsd: \
- %{!YP,*:%{p|pg:-Y P,/usr/ucblib:/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \
- %{!p:%{!pg:-Y P,/usr/ucblib:/usr/ccs/lib:/usr/lib}}} \
- -R /usr/ucblib} \
+ %{!YP,*:%{p|pg:-Y P,%R/usr/ucblib:%R/usr/ccs/lib/libp:%R/usr/lib/libp:%R/usr/ccs/lib:%R/usr/lib} \
+ %{!p:%{!pg:-Y P,%R/usr/ucblib:%R/usr/ccs/lib:%R/usr/lib}}} \
+ -R %R/usr/ucblib} \
%{!compat-bsd: \
- %{!YP,*:%{p|pg:-Y P,/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \
- %{!p:%{!pg:-Y P,/usr/ccs/lib:/usr/lib}}}}"
+ %{!YP,*:%{p|pg:-Y P,%R/usr/ccs/lib/libp:%R/usr/lib/libp:%R/usr/ccs/lib:%R/usr/lib} \
+ %{!p:%{!pg:-Y P,%R/usr/ccs/lib:%R/usr/lib}}}}"
#undef LINK_ARCH32_SPEC
#define LINK_ARCH32_SPEC LINK_ARCH32_SPEC_BASE