aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid O'Brien <obrien@FreeBSD.org>1999-11-15 09:11:42 +0000
committerJeff Law <law@gcc.gnu.org>1999-11-15 02:11:42 -0700
commite1459ff820016dc636eac275d76fde3479c3f5c9 (patch)
tree8d17d1098d367825d55b8ab9bb740cb211e501fa
parent329e1d019a5bd47a57019c062943b481228af26f (diff)
downloadgcc-e1459ff820016dc636eac275d76fde3479c3f5c9.zip
gcc-e1459ff820016dc636eac275d76fde3479c3f5c9.tar.gz
gcc-e1459ff820016dc636eac275d76fde3479c3f5c9.tar.bz2
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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/t-freebsd-thread4
-rwxr-xr-xgcc/configure2
-rw-r--r--gcc/configure.in2
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
;;