From 2f494cb24f4d816839ccfd00a143d48fe8d0d124 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Thu, 8 Apr 1999 07:49:24 +0000 Subject: [PATCH] Merge shared LIB_SPEC into share config header. --- contrib/gcc/config/freebsd.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/contrib/gcc/config/freebsd.h b/contrib/gcc/config/freebsd.h index bddb78606090..89b8b18facd0 100644 --- a/contrib/gcc/config/freebsd.h +++ b/contrib/gcc/config/freebsd.h @@ -65,6 +65,12 @@ Boston, MA 02111-1307, USA. */ the final CPP_PREDEFINES value. */ #define CPP_FBSD_PREDEFINES " -Dunix -D__ELF__ -D__FreeBSD__=4 -D__FreeBSD_cc_version=400002 -Asystem(unix) -Asystem(FreeBSD) " +/* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate + libc, depending on whether we're doing profiling. + (like the default, except no -lg, and no -p. */ +#undef LIB_SPEC +#define LIB_SPEC "%{!shared:%{!pg:%{!pthread:%{!kthread:-lc}%{kthread:-lpthread -lc}}%{pthread:-lc_r}}%{pg:%{!pthread:%{!kthread:-lc_p}%{kthread:-lpthread_p -lc_p}}%{pthread:-lc_r_p}}}" + /* Code generation parameters. */