From 3138b3093a3022b9565564c387bf6832a398a720 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Mon, 9 Oct 2000 15:31:36 +0000 Subject: Don't select libc for -shared for now. (Will revisit that decision after we switch libc/libc_r -> libc/libpthreads) --- gnu/egcs/gcc/config/openbsd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu') 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 -- cgit v1.2.3