Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] gcc-configure-cross: factor out --enable-threads argument into ${GCCTHREADS}
@ 2012-09-26  9:45 Phil Blundell
  2012-09-26  9:54 ` Martin Jansa
  2012-09-26 10:46 ` Henning Heinold
  0 siblings, 2 replies; 8+ messages in thread
From: Phil Blundell @ 2012-09-26  9:45 UTC (permalink / raw)
  To: OE-core

This allows BSPs for architectures with no thread support to set (for
example) "GCCTHREADS=no" without having to override all the other configure
parameters.

Signed-off-by: Phil Blundell <pb@pbcl.net>
---
 meta/recipes-devtools/gcc/gcc-configure-common.inc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc
index 908ad3e..504bfaa 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc
@@ -26,12 +26,13 @@ EXTRA_OECONF_INITIAL ?= ""
 EXTRA_OECONF_INTERMEDIATE ?= ""
 
 GCCMULTILIB = "--disable-multilib"
+GCCTHREADS = "posix"
 
 EXTRA_OECONF = "${@['--enable-clocale=generic', ''][d.getVar('USE_NLS', True) != 'no']} \
                 --with-gnu-ld \
                 --enable-shared \
                 --enable-languages=${LANGUAGES} \
-                --enable-threads=posix \
+                --enable-threads=${GCCTHREADS} \
                 ${GCCMULTILIB} \
                 --enable-c99 \
                 --enable-long-long \
-- 
1.7.10.4






^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-09-26 13:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-26  9:45 [PATCH] gcc-configure-cross: factor out --enable-threads argument into ${GCCTHREADS} Phil Blundell
2012-09-26  9:54 ` Martin Jansa
2012-09-26  9:57   ` Phil Blundell
2012-09-26 10:01     ` Martin Jansa
2012-09-26 10:28       ` Phil Blundell
2012-09-26 13:46         ` Richard Purdie
2012-09-26 10:46 ` Henning Heinold
2012-09-26 10:50   ` Phil Blundell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox