diff options
author | obrien <obrien@FreeBSD.org> | 1999-09-19 10:31:14 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1999-09-19 10:31:14 +0000 |
commit | 7d1a76ba11597ecf32d8623d2fe7eb20bcf1ae74 (patch) | |
tree | f2c96cc7354e8853522e82433eacb8db9b53eedd /contrib/gcc | |
parent | eed2bb06599ade428caee30d0e0dab80b194a42b (diff) | |
download | FreeBSD-src-7d1a76ba11597ecf32d8623d2fe7eb20bcf1ae74.zip FreeBSD-src-7d1a76ba11597ecf32d8623d2fe7eb20bcf1ae74.tar.gz |
Support linking against libgcc_r.
Submitted by: Luoqi Chen <luoqi@chen.ml.org>
Diffstat (limited to 'contrib/gcc')
-rw-r--r-- | contrib/gcc/config/i386/freebsd.h | 4 | ||||
-rw-r--r-- | contrib/gcc/config/i386/freebsd.h.fixed | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/contrib/gcc/config/i386/freebsd.h b/contrib/gcc/config/i386/freebsd.h index b7b2752..d2ee2f0 100644 --- a/contrib/gcc/config/i386/freebsd.h +++ b/contrib/gcc/config/i386/freebsd.h @@ -524,10 +524,6 @@ do { \ #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}}}" -/* Let gcc locate this for us according to the -m rules */ -#undef LIBGCC_SPEC -#define LIBGCC_SPEC "%{!shared:libgcc.a%s}" - /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support for the special GCC options -static and -shared, which allow us to link things in one of these three modes by applying the appropriate diff --git a/contrib/gcc/config/i386/freebsd.h.fixed b/contrib/gcc/config/i386/freebsd.h.fixed index b7b2752..d2ee2f0 100644 --- a/contrib/gcc/config/i386/freebsd.h.fixed +++ b/contrib/gcc/config/i386/freebsd.h.fixed @@ -524,10 +524,6 @@ do { \ #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}}}" -/* Let gcc locate this for us according to the -m rules */ -#undef LIBGCC_SPEC -#define LIBGCC_SPEC "%{!shared:libgcc.a%s}" - /* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support for the special GCC options -static and -shared, which allow us to link things in one of these three modes by applying the appropriate |