From: Kai Tietz Date: Tue, 16 Aug 2011 16:29:20 +0000 (+0200) Subject: * config/i386/mingw32.h (GOMP_SELF_SPEC): Add -pthread option. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c9c8f2e82792603bfc587b49841b2f43ee60d121;p=gcc.git * config/i386/mingw32.h (GOMP_SELF_SPEC): Add -pthread option. From-SVN: r177789 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d567a2072cb..a38e9132b2d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-08-16 Kai Tietz + + * config/i386/mingw32.h (GOMP_SELF_SPEC): Add -pthread option. + 2011-08-16 Richard GUenther PR tree-optimization/50082 diff --git a/gcc/config/i386/mingw32.h b/gcc/config/i386/mingw32.h index 3c835c68690..7cb280eda32 100644 --- a/gcc/config/i386/mingw32.h +++ b/gcc/config/i386/mingw32.h @@ -189,7 +189,8 @@ do { \ /* mingw32 uses the -mthreads option to enable thread support. */ #undef GOMP_SELF_SPECS -#define GOMP_SELF_SPECS "%{fopenmp: -mthreads}" +#define GOMP_SELF_SPECS "%{fopenmp|ftree-parallelize-loops=*: " \ + "-mthreads -pthread}" /* mingw32 atexit function is safe to use in shared libraries. Use it to register C++ static destructors. */