Missing new files from previous patch.
authorKai Tietz <ktietz@gcc.gnu.org>
Fri, 1 Apr 2011 14:59:25 +0000 (16:59 +0200)
committerKai Tietz <ktietz@gcc.gnu.org>
Fri, 1 Apr 2011 14:59:25 +0000 (16:59 +0200)
From-SVN: r171834

gcc/config/i386/mingw-pthread.h [new file with mode: 0644]
gcc/config/i386/t-mingw-pthread [new file with mode: 0644]

diff --git a/gcc/config/i386/mingw-pthread.h b/gcc/config/i386/mingw-pthread.h
new file mode 100644 (file)
index 0000000..7868b94
--- /dev/null
@@ -0,0 +1,21 @@
+/* Defines that pthread library shall be enabled by default
+   for target.
+   Copyright (C) 2011 Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 3, or (at your option)
+any later version.
+
+GCC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GCC; see the file COPYING3.  If not see
+<http://www.gnu.org/licenses/>.  */
+
+#define TARGET_USE_PTHREAD_BY_DEFAULT 1
diff --git a/gcc/config/i386/t-mingw-pthread b/gcc/config/i386/t-mingw-pthread
new file mode 100644 (file)
index 0000000..622ef82
--- /dev/null
@@ -0,0 +1,2 @@
+SHLIB_PTHREAD_CFLAG = -pthread
+SHLIB_PTHREAD_LDFLAG = -Wl,-lpthread