diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2008-10-04 14:44:56 +0000 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2008-10-04 14:44:56 +0000 |
commit | 0efef5b382ddc44841ec101eae4f5c2bd2257a0f (patch) | |
tree | 1cda1ab0e3054a60834b4c2f4da93007fff2d1d0 /packages/gcc/gcc-4.2.4.inc | |
parent | d9a4683da8347fcf1c4e375190c3c7124738b770 (diff) |
gcc-4.2.4: fix gcc build for sh4 and uclibc
* add sh_unwind.patch which fixes gcc/config/sh/linux-unwind.h
like mips or i386
* add cppdefaults_cross.patch which removes /usr/include path from
gcc/cppdefault.c when, this is needed because sh4 uses fixheader
and fixproto and then zeckes no-host-include code yelling
at the /usr/include
* ATTENTION this may break sh4-native gcc, but I do not
believe that someone would use gcc directly on sh4 arch,
if there iare some crazy people doing it, I will fix it in
another way
* do not bump PR because it only affects sh4 arch
Diffstat (limited to 'packages/gcc/gcc-4.2.4.inc')
-rw-r--r-- | packages/gcc/gcc-4.2.4.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.2.4.inc b/packages/gcc/gcc-4.2.4.inc index ccca7705c1..b21569b270 100644 --- a/packages/gcc/gcc-4.2.4.inc +++ b/packages/gcc/gcc-4.2.4.inc @@ -63,6 +63,11 @@ PACKAGE_ARCH_ep93xx = "${MACHINE_ARCH}" SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 " +SRC_URI_append_sh4 = " file://sh_unwind.patch;patch=1 \ + file://cppdefault_cross.patch;patch=1 \ + " + + # Language Overrides FORTRAN = "" FORTRAN_linux-gnueabi = ",fortran" |