]> code.ossystems Code Review - openembedded-core.git/commit
eglibc: always compile with optimization.
authorJackie Huang <jackie.huang@windriver.com>
Thu, 15 Nov 2012 05:19:52 +0000 (13:19 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 24 Nov 2012 15:12:08 +0000 (15:12 +0000)
commit9ca1c6120fad5dcae1694e8e37331c1b903f1fd0
treea746aacb60b27c87c6b7dc1608e12517e15d87be
parent0e97ef30c3819e22f43d88e817e8a8b39ca30e5d
eglibc: always compile with optimization.

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 <jackie.huang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/eglibc/eglibc_2.16.bb