summaryrefslogtreecommitdiff
path: root/gcc/gthr.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-03-19 22:00:05 -0400
committermidipix <writeonce@midipix.org>2015-03-19 22:00:05 -0400
commit2fe6f141f8f33a4f733341568eca3de6c060a938 (patch)
tree4c7a354da7863dba44dc54178f3085f6ca4f7664 /gcc/gthr.h
parent06f22dbfc4888828fb6bd41f3eca41ebad9e8b41 (diff)
downloadcbb-gcc-4.6.4-2fe6f141f8f33a4f733341568eca3de6c060a938.tar.bz2
cbb-gcc-4.6.4-2fe6f141f8f33a4f733341568eca3de6c060a938.tar.xz
gcc/gthr.h, libgcc/morestack:
+ require pthread to be present; + require all pthread symbols to be strongly defined. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
Diffstat (limited to 'gcc/gthr.h')
-rw-r--r--gcc/gthr.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/gthr.h b/gcc/gthr.h
index f4dd96b9e..7ba2588f3 100644
--- a/gcc/gthr.h
+++ b/gcc/gthr.h
@@ -158,10 +158,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
/* The pe-coff weak support isn't fully compatible to ELF's weak.
For static libraries it might would work, but as we need to deal
with shared versions too, we disable it for mingw-targets. */
-#ifdef __MINGW32__
#undef GTHREAD_USE_WEAK
#define GTHREAD_USE_WEAK 0
-#endif
#ifndef GTHREAD_USE_WEAK
#define GTHREAD_USE_WEAK 1