Patchwork gcc-4.6: fix toolchain build for SH4

login
register
mail settings
Submitter michael_e_brown@dell.com
Date Nov. 14, 2011, 5:49 a.m.
Message ID <1321249756-23563-1-git-send-email-michael_e_brown@dell.com>
Download mbox | patch
Permalink /patch/14931/
State Accepted
Commit da7bf75bcdd5759a0f551dcb7a0326aa2f40921c
Headers show

Comments

michael_e_brown@dell.com - Nov. 14, 2011, 5:49 a.m.
From: Michael Brown <Michael_E_Brown@Dell.com>

Signed-off-by: Michael Brown <Michael_E_Brown@dell.com>

Port patch from base openembedded. Since 4.6 already has fixes for config.gcc,
the fix only requires a one line change to gcc-cross4.inc.

The patch was imported from the OpenEmbedded git server
(git://git.openembedded.org/openembedded) as of commit id
3aa8afe97e9cf1340feb9c4442a6ed88b7e32c96.

gcc-4.5: Fix toolchain builds for SH4/SH3

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/gcc/gcc-cross4.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/recipes-devtools/gcc/gcc-cross4.inc b/meta/recipes-devtools/gcc/gcc-cross4.inc
index ea20a24..4a20818 100644
--- a/meta/recipes-devtools/gcc/gcc-cross4.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross4.inc
@@ -1 +1,3 @@ 
 require gcc-cross.inc
+
+EXTRA_OECONF_append_sh4 = " --with-multilib-list= --enable-incomplete-targets "