gcc: upgrade gcc for powerpc to version 4.5.0

Fix one parameter order issue for base_contains function,
which impacts glibc build under new gcc.

Add new judge code to determine whether <altivec.h> is needed.
This fixes the mpeg2dec build failure under new gcc.

Use O2 as the optimization flag to tinylogin as it will meet
segfault if compiled by gcc-4.5.0 when enable both frename-registers
and Os options. Use O2 instead.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
This commit is contained in:
Dongxiao Xu
2010-09-16 13:51:09 +08:00
committed by Saul Wold
parent 8e9caafd0b
commit 0ff070bbf1
27 changed files with 89 additions and 27 deletions

View File

@@ -1,5 +1,5 @@
require gcc-cross_${PV}.bb
require gcc-cross-initial.inc
PR = "r2"
PR = "r3"