* config/i386/mingw32.h (GOMP_SELF_SPEC): Add -pthread option.
From-SVN: r177789
This commit is contained in:
parent
e8dbf8b528
commit
c9c8f2e827
@ -1,3 +1,7 @@
|
||||
2011-08-16 Kai Tietz <ktietz@redhat.com>
|
||||
|
||||
* config/i386/mingw32.h (GOMP_SELF_SPEC): Add -pthread option.
|
||||
|
||||
2011-08-16 Richard GUenther <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/50082
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user