configure.in: Handle libgcc2 threads support on FreeBSD platforms.
authorDavid O'Brien <obrien@FreeBSD.org>
Mon, 15 Nov 1999 09:11:42 +0000 (09:11 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 15 Nov 1999 09:11:42 +0000 (02:11 -0700)
        * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
        * configure: Rebuilt.
        * config/t-freebsd-thread: New file.

From-SVN: r30537

gcc/ChangeLog
gcc/config/t-freebsd-thread [new file with mode: 0644]
gcc/configure
gcc/configure.in

index 95c2c773d5552b68079db1a8d7f9ac9f7c2cf98a..2b78eb0eefa2a20d6dc273b954b8873311e1d843 100644 (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)
 
        * 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 (file)
index 0000000..06315c8
--- /dev/null
@@ -0,0 +1,4 @@
+# This is currently needed to compile libgcc2 for threads support
+TARGET_LIBGCC2_CFLAGS=-pthread
+#T_CFLAGS=-pthread
+#T_CPPFLAGS=-pthread
index c5aa3a5fc1ac29449444db21b9588122c7333444..c894a5131f8c30627b351685ba3ee981061c8bc8 100755 (executable)
@@ -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
                ;;
index d2c312526e597c8376a45d04794bf1aaef3facb6..4ce212cac68368dc3b29220c274e27f1dab65c2a 100644 (file)
@@ -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
                ;;