[OE-core] [PATCH] gcc-configure-cross: factor out --enable-threads argument into ${GCCTHREADS}
Henning Heinold
heinold at inf.fu-berlin.de
Wed Sep 26 10:46:08 UTC 2012
On Wed, Sep 26, 2012 at 10:45:18AM +0100, Phil Blundell wrote:
> 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 at 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"
Hi Phil,
should that not be GCCTHREADS ?=
otherwise I do not see how it could be overwritten from outside.
Bye Henning
More information about the Openembedded-core
mailing list