aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/mingw32.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ace6a48..3292139 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/i386/mingw32.h b/gcc/config/i386/mingw32.h
index bc18d64..6fd5d94 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}"