diff options
author | Ray Donnelly <mingw.android@gmail.com> | 2015-10-20 20:37:03 +0100 |
---|---|---|
committer | Ray Donnelly <mingw.android@gmail.com> | 2015-11-13 02:17:42 +0000 |
commit | 3c95e3492ae66ee012a0ec886be7af9529cfbeb1 (patch) | |
tree | 8b8026e10e32f0f023e782dbc77287f27f7609a7 /patches | |
parent | 265503461b24eba2c946d6e70c760e530eaba170 (diff) | |
download | crosstool-ng-3c95e3492ae66ee012a0ec886be7af9529cfbeb1.tar.gz crosstool-ng-3c95e3492ae66ee012a0ec886be7af9529cfbeb1.tar.bz2 crosstool-ng-3c95e3492ae66ee012a0ec886be7af9529cfbeb1.zip |
binutils: Fix typo
pthread_mutextattr_settype -> pthread_mutexattr_settype
.. I'm not sure why this didn't fail everywhere, unless
no one has tried to build gold?
Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
Diffstat (limited to 'patches')
-rwxr-xr-x | patches/binutils/2.25.1/310-fix-gold-pthreads-typo.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/binutils/2.25.1/310-fix-gold-pthreads-typo.patch b/patches/binutils/2.25.1/310-fix-gold-pthreads-typo.patch new file mode 100755 index 00000000..f2e6ff25 --- /dev/null +++ b/patches/binutils/2.25.1/310-fix-gold-pthreads-typo.patch @@ -0,0 +1,14 @@ +--- binutils-2.25.1/gold/gold-threads.cc.orig 2014-10-14 08:32:04.000000000 +0100 ++++ binutils-2.25.1/gold/gold-threads.cc 2015-10-20 22:38:18.640819300 +0100 +@@ -102,9 +102,9 @@ + if (err != 0) + gold_fatal(_("pthead_mutextattr_init failed: %s"), strerror(err)); + #ifdef PTHREAD_MUTEX_ADAPTIVE_NP +- err = pthread_mutextattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP); ++ err = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP); + if (err != 0) +- gold_fatal(_("pthread_mutextattr_settype failed: %s"), strerror(err)); ++ gold_fatal(_("pthread_mutexattr_settype failed: %s"), strerror(err)); + #endif + + err = pthread_mutex_init(&this->mutex_, &attr); |