diff options
| author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2017-06-02 20:04:34 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-06-08 21:30:25 +0200 |
| commit | 269b21afaa5e85a4fd469f0ea98a5657566bbc49 (patch) | |
| tree | bf3cb9c55cedf1322cb6af168db939aaf17e2e35 /package/bdwgc | |
| parent | 6bd52568c8ad28d75cb5d1ffe303cd7457a72c92 (diff) | |
| download | buildroot-269b21afaa5e85a4fd469f0ea98a5657566bbc49.tar.gz buildroot-269b21afaa5e85a4fd469f0ea98a5657566bbc49.zip | |
package/bdwgc: re-add fix for pthread detection on uclinux platforms
Fixes
http://autobuild.buildroot.net/results/d63/d63ee2d03421cc671455be553ab35ada7ff78267/
http://autobuild.buildroot.net/results/d8f/d8f97fd92cd971a0d125f983765ef27c5ac87acb/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/bdwgc')
| -rw-r--r-- | package/bdwgc/0003-configure-match-uclinux-pattern.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/package/bdwgc/0003-configure-match-uclinux-pattern.patch b/package/bdwgc/0003-configure-match-uclinux-pattern.patch new file mode 100644 index 0000000000..b2c61982a4 --- /dev/null +++ b/package/bdwgc/0003-configure-match-uclinux-pattern.patch @@ -0,0 +1,27 @@ +From a628c90bdbf397465ac2ab2b11f14eb2e853651c Mon Sep 17 00:00:00 2001 +From: Romain Naour <romain.naour@gmail.com> +Date: Sat, 6 Aug 2016 23:24:35 +0200 +Subject: [PATCH] configure: match uclinux pattern + +BDWGC does not recognize "uclinux" as a valid OS part of the target +tuple which is used by some arm cortex-M toolchains. + +* configure.ac [$THREADS=pthreads] (GC_LINUX_THREADS, _REENTRANT): Define +for hosts matching "*-*-*linux*" (instead of "*-*-linux*"). +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 22353547..fa745b56 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -190,7 +190,7 @@ case "$THREADS" in + AC_DEFINE(THREAD_LOCAL_ALLOC) + AC_MSG_WARN("Explicit GC_INIT() calls may be required."); + ;; +- *-*-linux* | *-*-nacl*) ++ *-*-*linux* | *-*-nacl*) + AC_DEFINE(GC_LINUX_THREADS) + AC_DEFINE(_REENTRANT) + ;; |

