OSDN Git Service

* configure.in: Handle libgcc2 threads support on FreeBSD platforms.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Nov 1999 09:11:42 +0000 (09:11 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Nov 1999 09:11:42 +0000 (09:11 +0000)
        * configure: Rebuilt.
        * config/t-freebsd-thread: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30537 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 95c2c77..2b78eb0 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 c5aa3a5..c894a51 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 d2c3125..4ce212c 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
                ;;