[oe] [meta-oe][PATCH] efivar-native: fix compile failure with older host gcc (<=4.6)

Otavio Salvador otavio.salvador at ossystems.com.br
Mon May 30 16:07:30 UTC 2016


On Mon, May 30, 2016 at 4:39 AM, Hongxu Jia <hongxu.jia at windriver.com> wrote:
> While host gcc version is 4.6.3 in ubuntu 1204, it
> did not recognize -std=gnu11 and -Wmaybe-uninitialized.
>
> While host gcc version is 4.4.7 in centos6, it
> did not recognize -std=gnu11, -Wmaybe-uninitialized,
> and -flto.
>
> For native build, use -std=gnu99 to replace -std=gnu11,
> and directly remove -Wmaybe-uninitialized and -flto.
>
> Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>

I am concerned about supporting such old GCC versions; this seems like
something Wind River ought to maintain privately since OE-Core does
not state it supports those host distribution versions.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-devel mailing list