summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbillingd <billingd@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-07 23:51:34 +0000
committerbillingd <billingd@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-07 23:51:34 +0000
commit1e18cf39dfb2a977a5337aa7004cbfe0642cf225 (patch)
tree250b18ea2500c77a369a28b8a7a81bc77f366e61
parentedc6a30550633a585b50968b701e1f99833589fc (diff)
downloadppe42-gcc-1e18cf39dfb2a977a5337aa7004cbfe0642cf225.tar.gz
ppe42-gcc-1e18cf39dfb2a977a5337aa7004cbfe0642cf225.zip
2006-03-08 David Billinghurst <David.Billinghurst@riotinto.com>
PR target/26588 * config/i386/cygwin.h (GOMP_SELF_SPECS): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111824 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/cygwin.h6
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e446ba1d915..cb421ce748e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-08 David Billinghurst <David.Billinghurst@riotinto.com>
+
+ PR target/26588
+ * config/i386/cygwin.h (GOMP_SELF_SPECS): Define.
+
2006-03-08 Ben Elliston <bje@au.ibm.com>
* config/fp-bit.h (CMPtype): Typedef to a word mode integer.
diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h
index 02d004c11b7..3cbbd16c043 100644
--- a/gcc/config/i386/cygwin.h
+++ b/gcc/config/i386/cygwin.h
@@ -232,3 +232,9 @@ while (0)
/* Binutils does not handle weak symbols from dlls correctly. For now,
do not use them unnecessarily in gthr-posix.h. */
#define GTHREAD_USE_WEAK 0
+
+/* Every program on cygwin links against cygwin1.dll which contains
+ the pthread routines. There is no need to explicitly link them
+ and the -pthread flag is not recognised. */
+#undef GOMP_SELF_SPECS
+#define GOMP_SELF_SPECS ""
OpenPOWER on IntegriCloud