From b6bce27b6d372715ca68cab6441224479dcdf852 Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Fri, 1 Apr 2011 16:59:25 +0200 Subject: [PATCH] Missing new files from previous patch. From-SVN: r171834 --- gcc/config/i386/mingw-pthread.h | 21 +++++++++++++++++++++ gcc/config/i386/t-mingw-pthread | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 gcc/config/i386/mingw-pthread.h create mode 100644 gcc/config/i386/t-mingw-pthread diff --git a/gcc/config/i386/mingw-pthread.h b/gcc/config/i386/mingw-pthread.h new file mode 100644 index 00000000000..7868b943788 --- /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 +. */ + +#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 00000000000..622ef82be6e --- /dev/null +++ b/gcc/config/i386/t-mingw-pthread @@ -0,0 +1,2 @@ +SHLIB_PTHREAD_CFLAG = -pthread +SHLIB_PTHREAD_LDFLAG = -Wl,-lpthread -- 2.30.2