summaryrefslogtreecommitdiffstats
path: root/package/bdwgc
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@gmail.com>2016-08-06 23:46:37 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-08-07 23:10:38 +0200
commit65f15dd57bbefd6f79ed63e51a18505fbe70afe0 (patch)
treec6162c6cb73ab02bc923b0224b0dd68983f17a1a /package/bdwgc
parent40c69fc5b5948f3573a6ab84bed53de6a62768ca (diff)
downloadbuildroot-65f15dd57bbefd6f79ed63e51a18505fbe70afe0.tar.gz
buildroot-65f15dd57bbefd6f79ed63e51a18505fbe70afe0.zip
package/bdwgc: fix pthread detection on uclinux platforms
bdwgc does not recognize "uclinux" as a valid OS part of the target tuple which is used by some arm cortex-M toolchains. Fixes: http://autobuild.buildroot.net/results/94f/94fbc1e5afe183e5b071d1e869b2d780025389e2 Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/bdwgc')
-rw-r--r--package/bdwgc/0004-configure-match-uclinux-pattern.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/package/bdwgc/0004-configure-match-uclinux-pattern.patch b/package/bdwgc/0004-configure-match-uclinux-pattern.patch
new file mode 100644
index 0000000000..78bad1c595
--- /dev/null
+++ b/package/bdwgc/0004-configure-match-uclinux-pattern.patch
@@ -0,0 +1,32 @@
+From f8ecc7fb09adf34a23d324f373e667c81311fc1c 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.
+
+Fixes:
+http://autobuild.buildroot.net/results/94f/94fbc1e5afe183e5b071d1e869b2d780025389e2
+
+Signed-off-by: Romain Naour <romain.naour@gmail.com>
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index b1ce2b2..a69d101 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -186,7 +186,7 @@ case "$THREADS" in
+ AC_DEFINE(THREAD_LOCAL_ALLOC)
+ AC_MSG_WARN("Explicit GC_INIT() calls may be required.");
+ ;;
+- *-*-linux*)
++ *-*-*linux*)
+ AC_DEFINE(GC_LINUX_THREADS)
+ AC_DEFINE(_REENTRANT)
+ ;;
+--
+2.5.5
+
OpenPOWER on IntegriCloud