diff options
author | deischen <deischen@FreeBSD.org> | 2003-11-10 18:52:57 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2003-11-10 18:52:57 +0000 |
commit | 5563abd4bb716bb57f87a6bf862118fd028f85d0 (patch) | |
tree | 974a87232d7b20172fdcb9335e4c452b40f5c151 /contrib | |
parent | 75330811e6619b103f6dcbbdceabc91e09a6450b (diff) | |
download | FreeBSD-src-5563abd4bb716bb57f87a6bf862118fd028f85d0.zip FreeBSD-src-5563abd4bb716bb57f87a6bf862118fd028f85d0.tar.gz |
Remove a comment stating that -pthread isn't supported.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/gcc/config/freebsd-spec.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/contrib/gcc/config/freebsd-spec.h b/contrib/gcc/config/freebsd-spec.h index 63a56c0..422c4c2 100644 --- a/contrib/gcc/config/freebsd-spec.h +++ b/contrib/gcc/config/freebsd-spec.h @@ -131,17 +131,15 @@ Boston, MA 02111-1307, USA. */ required by the user-land thread model. Before __FreeBSD_version 500016, select the appropriate libc, depending on whether we're doing profiling or need threads support. At __FreeBSD_version - 500016 and later, threads libraries can be linked with libc. - Because of this, and because different (not multiple) threading - libraries may be selected in the link option, the -pthread option - is no longer supported. To make matters interesting, we can't - actually use __FreeBSD_version provided by <osreldate.h> directly - since it breaks cross-compiling. As a final twist, make it a hard - error if -pthread is provided on the command line and gcc was - configured with --disable-threads (this will help avoid bug reports - from users complaining about threading when they misconfigured the - gcc bootstrap but are later consulting FreeBSD manual pages that - refer to the mythical -pthread option). */ + 500016 and later, thread libraries can be linked with libc. To + make matters interesting, we can't actually use __FreeBSD_version + provided by <osreldate.h> directly since it breaks cross-compiling. + As a final twist, make it a hard error if -pthread is provided on + the command line and gcc was configured with --disable-threads + (this will help avoid bug reports from users complaining about + threading when they misconfigured the gcc bootstrap but are later + consulting FreeBSD manual pages that refer to the mythical -pthread + option). */ /* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate libc, depending on whether we're doing profiling or need threads support. |