diff options
author | Kai Tietz <ktietz@gcc.gnu.org> | 2011-04-01 16:59:25 +0200 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2011-04-01 16:59:25 +0200 |
commit | b6bce27b6d372715ca68cab6441224479dcdf852 (patch) | |
tree | 6bd42672708c76a1bd46dbae0833e051277858e2 | |
parent | c04bdac028f5292634f5c02432226934ef7980e4 (diff) | |
download | gcc-b6bce27b6d372715ca68cab6441224479dcdf852.zip gcc-b6bce27b6d372715ca68cab6441224479dcdf852.tar.gz gcc-b6bce27b6d372715ca68cab6441224479dcdf852.tar.bz2 |
Missing new files from previous patch.
From-SVN: r171834
-rw-r--r-- | gcc/config/i386/mingw-pthread.h | 21 | ||||
-rw-r--r-- | gcc/config/i386/t-mingw-pthread | 2 |
2 files changed, 23 insertions, 0 deletions
diff --git a/gcc/config/i386/mingw-pthread.h b/gcc/config/i386/mingw-pthread.h new file mode 100644 index 0000000..7868b94 --- /dev/null +++ b/gcc/config/i386/mingw-pthread.h @@ -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 index 0000000..622ef82 --- /dev/null +++ b/gcc/config/i386/t-mingw-pthread @@ -0,0 +1,2 @@ +SHLIB_PTHREAD_CFLAG = -pthread +SHLIB_PTHREAD_LDFLAG = -Wl,-lpthread |