diff options
| -rw-r--r-- | gcc/ChangeLog | 6 | ||||
| -rw-r--r-- | gcc/config/t-freebsd-thread | 4 | ||||
| -rwxr-xr-x | gcc/configure | 2 | ||||
| -rw-r--r-- | gcc/configure.in | 2 |
4 files changed, 12 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 95c2c77..2b78eb0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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) * i386.c (ix86_decompose_address): Verify the base is a REG diff --git a/gcc/config/t-freebsd-thread b/gcc/config/t-freebsd-thread new file mode 100644 index 0000000..06315c8 --- /dev/null +++ b/gcc/config/t-freebsd-thread @@ -0,0 +1,4 @@ +# This is currently needed to compile libgcc2 for threads support +TARGET_LIBGCC2_CFLAGS=-pthread +#T_CFLAGS=-pthread +#T_CPPFLAGS=-pthread diff --git a/gcc/configure b/gcc/configure index c5aa3a5..c894a51 100755 --- a/gcc/configure +++ b/gcc/configure @@ -4060,7 +4060,7 @@ for machine in $build $host $target; do case x${enable_threads} in xyes | xpthreads | xposix) thread_file='posix' - tmake_file="${tmake_file} t-openbsd-thread" + tmake_file="${tmake_file} t-freebsd-thread" ;; esac ;; diff --git a/gcc/configure.in b/gcc/configure.in index d2c3125..4ce212c 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -1282,7 +1282,7 @@ changequote([,])dnl case x${enable_threads} in xyes | xpthreads | xposix) thread_file='posix' - tmake_file="${tmake_file} t-openbsd-thread" + tmake_file="${tmake_file} t-freebsd-thread" ;; esac ;; |
