summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2000-10-15 19:25:36 +0000
committerMarc Espie <espie@cvs.openbsd.org>2000-10-15 19:25:36 +0000
commitb2823764b77db911071534ee76efdf1ddb3626e0 (patch)
tree91942b5950b282e65133d4a967b40663c972cffc /gnu
parent02868242233ec476959ed99d761e8049719cbef4 (diff)
Don't link shared libraries against -lc on ppc either.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/egcs/gcc/config/rs6000/sysv4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/config/rs6000/sysv4.h b/gnu/egcs/gcc/config/rs6000/sysv4.h
index e9673821f06..c242e1d9faa 100644
--- a/gnu/egcs/gcc/config/rs6000/sysv4.h
+++ b/gnu/egcs/gcc/config/rs6000/sysv4.h
@@ -1372,7 +1372,7 @@ do { \
#endif
#ifndef LIBC_OPENBSD_SPEC
-#define LIBC_OPENBSD_SPEC "-lc%{pthread:_r}%{p:_p}%{!p:%{pg:_p}}"
+#define LIBC_OPENBSD_SPEC "%{!shared:-lc%{pthread:_r}%{p:_p}%{!p:%{pg:_p}}}"
#endif
#ifndef STARTFILE_OPENBSD_SPEC