configure.in: Handle libgcc2 threads support on FreeBSD platforms.

* configure.in: Handle libgcc2 threads support on FreeBSD platforms.
        * configure: Rebuilt.
        * config/t-freebsd-thread: New file.

From-SVN: r30537
This commit is contained in:
David O'Brien 1999-11-15 09:11:42 +00:00 committed by Jeff Law
parent 329e1d019a
commit e1459ff820
4 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
* configure.in: Handle libgcc2 threads support on FreeBSD platforms.
* configure: Rebuilt.
* config/t-freebsd-thread: New file.
Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com) Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
* i386.c (ix86_decompose_address): Verify the base is a REG * i386.c (ix86_decompose_address): Verify the base is a REG

View File

@ -0,0 +1,4 @@
# This is currently needed to compile libgcc2 for threads support
TARGET_LIBGCC2_CFLAGS=-pthread
#T_CFLAGS=-pthread
#T_CPPFLAGS=-pthread

2
gcc/configure vendored
View File

@ -4060,7 +4060,7 @@ for machine in $build $host $target; do
case x${enable_threads} in case x${enable_threads} in
xyes | xpthreads | xposix) xyes | xpthreads | xposix)
thread_file='posix' thread_file='posix'
tmake_file="${tmake_file} t-openbsd-thread" tmake_file="${tmake_file} t-freebsd-thread"
;; ;;
esac esac
;; ;;

View File

@ -1282,7 +1282,7 @@ changequote([,])dnl
case x${enable_threads} in case x${enable_threads} in
xyes | xpthreads | xposix) xyes | xpthreads | xposix)
thread_file='posix' thread_file='posix'
tmake_file="${tmake_file} t-openbsd-thread" tmake_file="${tmake_file} t-freebsd-thread"
;; ;;
esac esac
;; ;;