From: Danny Smith Date: Fri, 6 Oct 2006 08:46:18 +0000 (+0000) Subject: * config/i386/mingw32.h (GOMP_SELF_SPECS): Add -mthreads for openmp. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4d51dc9ec6c2b5e94031936baca7763d9c3b4f1c;p=gcc.git * config/i386/mingw32.h (GOMP_SELF_SPECS): Add -mthreads for openmp. From-SVN: r117492 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ace6a48e3f9..32921393453 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2006-10-06 Danny Smith + + config/i386/mingw32.h (GOMP_SELF_SPECS): Add -mthreads for openmp. + 2006-10-06 Jakub Jelinek PR tree-optimization/29290 diff --git a/gcc/config/i386/mingw32.h b/gcc/config/i386/mingw32.h index bc18d64976d..6fd5d94cfd5 100644 --- a/gcc/config/i386/mingw32.h +++ b/gcc/config/i386/mingw32.h @@ -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}"