diff options
author | obrien <obrien@FreeBSD.org> | 1999-04-08 07:49:24 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1999-04-08 07:49:24 +0000 |
commit | 33869a012a1db7613ae80cefc2cf5226ad9a6494 (patch) | |
tree | 9c32d28b2f68ae2fb6586a81c4649f9125df7b35 /contrib | |
parent | 7b0c0999852ac700ebc7261c9fe847282127d001 (diff) | |
download | FreeBSD-src-33869a012a1db7613ae80cefc2cf5226ad9a6494.zip FreeBSD-src-33869a012a1db7613ae80cefc2cf5226ad9a6494.tar.gz |
Merge shared LIB_SPEC into share config header.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/gcc/config/freebsd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/gcc/config/freebsd.h b/contrib/gcc/config/freebsd.h index bddb786..89b8b18 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. */ |