diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2000-10-09 15:31:36 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2000-10-09 15:31:36 +0000 |
commit | 3138b3093a3022b9565564c387bf6832a398a720 (patch) | |
tree | 53b6f312ae7a08334a4f1984f6cd65967041af07 /gnu | |
parent | 046e408f2eb89999cc00f3b3d69cc88734cdf8dd (diff) |
Don't select libc for -shared for now.
(Will revisit that decision after we switch libc/libc_r -> libc/libpthreads)
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/egcs/gcc/config/openbsd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/config/openbsd.h b/gnu/egcs/gcc/config/openbsd.h index 3f66d2d6726..46b2b162efc 100644 --- a/gnu/egcs/gcc/config/openbsd.h +++ b/gnu/egcs/gcc/config/openbsd.h @@ -83,7 +83,7 @@ Boston, MA 02111-1307, USA. */ /* LIB_SPEC appropriate for OpenBSD. Select the appropriate libc, depending on profiling and threads. Basically, -lc(_r)?(_p)?, select _r for threads, and _p for p or pg. */ -#define OBSD_LIB_SPEC "-lc%{pthread:_r}%{p:_p}%{!p:%{pg:_p}}" +#define OBSD_LIB_SPEC "%{!shared:-lc%{pthread:_r}%{p:_p}%{!p:%{pg:_p}}}" #ifndef OBSD_HAS_CORRECT_SPECS |