package/bdwgc: fix pthread detection on uclinux platforms
RFC 1/1 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 <[email protected]>
---
Warning: build tested only.
--- .../0004-configure-match-uclinux-pattern.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 package/bdwgc/0004-configure-match-uclinux-pattern.patch
package/bdwgc/0004-configure-match-uclinux-pattern.patch new file +32 -0
@@ -0,0 +1,32 @@ +From f8ecc7fb09adf34a23d324f373e667c81311fc1c Mon Sep 17 00:00:00 2001 +From: Romain Naour <[email protected]> +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 <[email protected]> +--- + 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 +
Signature · 1 line
2.5.5
Thomas Petazzoni
AppliedHello,
Quoted 6 lines · Romain Naour
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
Quoted 7 lines
Signed-off-by Romain Naour <[email protected]>---
Warning: build tested only.--- .../0004-configure-match-uclinux-pattern.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 package/bdwgc/0004-configure-match-uclinux-pattern.patch
Applied to master, thanks. Please submit the patch upstream. Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com