diff options
author | 2000-10-15 19:25:35 +0000 | |
---|---|---|
committer | 2000-10-15 19:25:35 +0000 | |
commit | 73c3eaa8d037d3bffb3f8a7c5659ee052d97ccf1 (patch) | |
tree | f20ca549280e83db96892888075e736f8fe2bd13 | |
parent | Finish synch'ing. (diff) | |
download | wireguard-openbsd-73c3eaa8d037d3bffb3f8a7c5659ee052d97ccf1.tar.xz wireguard-openbsd-73c3eaa8d037d3bffb3f8a7c5659ee052d97ccf1.zip |
Don't link shared libraries against -lc on ppc either.
-rw-r--r-- | gnu/egcs/gcc/config/rs6000/sysv4.h | 2 |
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 |