* config/i386/mingw32.h (GOMP_SELF_SPECS): Add -mthreads for openmp.

From-SVN: r117492
This commit is contained in:
Danny Smith 2006-10-06 08:46:18 +00:00 committed by Danny Smith
parent b50019f0aa
commit 4d51dc9ec6
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2006-10-06 Danny Smith <dannysmith@users.sourceforge.net>
config/i386/mingw32.h (GOMP_SELF_SPECS): Add -mthreads for openmp.
2006-10-06 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/29290

View File

@ -109,6 +109,6 @@ do { \
#undef WINT_TYPE
#define WINT_TYPE "short unsigned int"
/* mingw32 doesn't understand the -pthread option. */
/* mingw32 uses the -mthreads option to enable thread support. */
#undef GOMP_SELF_SPECS
#define GOMP_SELF_SPECS ""
#define GOMP_SELF_SPECS "%{fopenmp: -mthreads}"