Re: [OE-core] [PATCH 1/1] eglibc: always compile with optimization.

2012-11-12 Thread jhuang0
On 11/12/2012 5:48 PM, Phil Blundell wrote: On Mon, 2012-11-12 at 11:31 +0800, jackie.hu...@windriver.com wrote: +# eglibc can't be built without optimization, if someone tries to compile an +# entire image as -O0, we override it with -O2 here and give a note about it. +def get_optimization(d)

Re: [OE-core] [PATCH 1/1] eglibc: always compile with optimization.

2012-11-12 Thread Phil Blundell
On Mon, 2012-11-12 at 11:31 +0800, jackie.hu...@windriver.com wrote: > +# eglibc can't be built without optimization, if someone tries to compile an > +# entire image as -O0, we override it with -O2 here and give a note about it. > +def get_optimization(d): > +if base_contains("SELECTED_OPTIMIZ

[OE-core] [PATCH 1/1] eglibc: always compile with optimization.

2012-11-11 Thread jackie.huang
From: Jackie Huang eglibc fails to compile if someone tries to compile an entire image as -O0: error "glibc cannot be compiled without optimization" so in this case, force to use -O2 and give a note about it. [YOCTO #3405] Signed-off-by: Jackie Huang --- meta/recipes-core/eglibc/eglibc_2.16.b