summaryrefslogtreecommitdiff
path: root/patches/binutils/2.28/320-MinGW-w64-winpthreads-doesnt-have-pthread_mutexattr_settype.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-05-07 22:12:08 (GMT)
committerAlexey Neyman <stilor@att.net>2017-07-08 17:56:29 (GMT)
commit0a654319f9a1d0ebaacb5572139f72c7f236b100 (patch)
tree476bcec92e75d294e4189d45725569c91dbc766d /patches/binutils/2.28/320-MinGW-w64-winpthreads-doesnt-have-pthread_mutexattr_settype.patch
parent8f8e131d566af1f577d8fb6e62e6f121b7955472 (diff)
First stab at gen-versions.sh
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'patches/binutils/2.28/320-MinGW-w64-winpthreads-doesnt-have-pthread_mutexattr_settype.patch')
-rw-r--r--patches/binutils/2.28/320-MinGW-w64-winpthreads-doesnt-have-pthread_mutexattr_settype.patch11
1 files changed, 0 insertions, 11 deletions
diff --git a/patches/binutils/2.28/320-MinGW-w64-winpthreads-doesnt-have-pthread_mutexattr_settype.patch b/patches/binutils/2.28/320-MinGW-w64-winpthreads-doesnt-have-pthread_mutexattr_settype.patch
deleted file mode 100644
index 2956385..0000000
--- a/patches/binutils/2.28/320-MinGW-w64-winpthreads-doesnt-have-pthread_mutexattr_settype.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- binutils-2.27/gold/gold-threads.cc.orig 2016-12-26 16:44:23.691075600 +1100
-+++ binutils-2.27/gold/gold-threads.cc 2016-12-26 16:46:21.071855200 +1100
-@@ -101,7 +101,7 @@
- int err = pthread_mutexattr_init(&attr);
- if (err != 0)
- gold_fatal(_("pthead_mutexattr_init failed: %s"), strerror(err));
--#ifdef PTHREAD_MUTEX_ADAPTIVE_NP
-+#if defined(PTHREAD_MUTEX_ADAPTIVE_NP) && !defined(_WIN32)
- err = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP);
- if (err != 0)
- gold_fatal(_("pthread_mutexattr_settype failed: %s"), strerror(err));