[OE-core] [PATCH] gcc-configure-cross: factor out --enable-threads argument into ${GCCTHREADS}

Martin Jansa martin.jansa at gmail.com
Wed Sep 26 09:54:59 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"
>  
>  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

Missing PR bump

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120926/b0460c62/attachment-0002.sig>


More information about the Openembedded-core mailing list