> On Oct 20, 2016, at 10:35 AM, Juro Bystricky <juro.bystri...@intel.com> wrote:
> 
> GCC was failing with a message similar to:
> 
> e:/windri~1/lx8.sdk/qemux8~1.800/sysroots/i686-w~1/usr/bin/i586-w~3/../../libexec/i586-wrs-linux/gcc/i586-wrs-linux/5.2.0/real-ld.exe:
>  unrecognized option '-plugin'
> 
> The issue was that by default plugin support was disabled in binutils.  By
> enabling the plugin support, the LTO support should also now work properly.
> 
> Signed-off-by: Mark Hatle <mark.ha...@windriver.com>
> Signed-off-by: Juro Bystricky <juro.bystri...@intel.com>
> ---
> recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend 
> b/recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend
> index 026c932..5845fe0 100644
> --- a/recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend
> +++ b/recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend
> @@ -1,4 +1,4 @@
> -EXTRA_OECONF_append_sdkmingw32 = " --disable-plugins --disable-nls"
> +EXTRA_OECONF_append_sdkmingw32 = " --disable-nls”

This looks ok to me.

> LDFLAGS_append_sdkmingw32 = " -Wl,-static"
> 
> DEPENDS_remove_sdkmingw32 = "nativesdk-gettext"
> --
> 2.7.4
> 
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to