diff options
author | jb <jb@FreeBSD.org> | 1997-05-03 02:58:54 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1997-05-03 02:58:54 +0000 |
commit | 8063125723bbc9af61ddfefc3de495d2f827e118 (patch) | |
tree | 83da77f74001481c3d69b31e52fd17918eccac4e /contrib/gcc/config/i386/freebsd.h.fixed | |
parent | 87e6f01d064f9909ce0c70372a61f1bbb613e56d (diff) | |
download | FreeBSD-src-8063125723bbc9af61ddfefc3de495d2f827e118.zip FreeBSD-src-8063125723bbc9af61ddfefc3de495d2f827e118.tar.gz |
Let gcc know about libc_r. Use -pthread to link against libc_r instead
of libc.
Diffstat (limited to 'contrib/gcc/config/i386/freebsd.h.fixed')
-rw-r--r-- | contrib/gcc/config/i386/freebsd.h.fixed | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc/config/i386/freebsd.h.fixed b/contrib/gcc/config/i386/freebsd.h.fixed index a96eb63..d27ef63 100644 --- a/contrib/gcc/config/i386/freebsd.h.fixed +++ b/contrib/gcc/config/i386/freebsd.h.fixed @@ -87,7 +87,7 @@ Boston, MA 02111-1307, USA. */ #define ASM_SPEC " %| %{fpic:-k} %{fPIC:-k}" /* Like the default, except no -lg, and no -p. */ -#define LIB_SPEC "%{!shared:%{!pg:-lc}%{pg:-lc_p}}" +#define LIB_SPEC "%{!shared:%{!pg:%{!pthread:-lc}%{pthread:-lc_r}}%{pg:%{!pthread:-lc_p}%{pthread:-lc_r_p}}}" #define LINK_SPEC \ "%{p:%e`-p' not supported; use `-pg' and gprof(1)} \ |