summaryrefslogtreecommitdiff
path: root/gnu/egcs/gcc/config/openbsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/egcs/gcc/config/openbsd.h')
-rw-r--r--gnu/egcs/gcc/config/openbsd.h2
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