diff options
author | Oyvind Repvik <nail@nslu2-linux.org> | 2007-03-11 20:51:17 +0000 |
---|---|---|
committer | Oyvind Repvik <nail@nslu2-linux.org> | 2007-03-11 20:51:17 +0000 |
commit | 3233c70592622e3a27e6db1f4ca8fbafb7b642c2 (patch) | |
tree | e2197fd2730c34d5ba0db5a6e570876e6c525582 /packages | |
parent | d8b24b6f7f786d8e21711e1e4a32d110d8015827 (diff) |
gcc: Fix crossbuild issue on x86_64 hosts (4.1.1/4.1.2)
Diffstat (limited to 'packages')
-rw-r--r-- | packages/gcc/gcc-4.1.1/gcc-ignore-cache.patch | 15 | ||||
-rw-r--r-- | packages/gcc/gcc-4.1.2/gcc-ignore-cache.patch | 15 | ||||
-rw-r--r-- | packages/gcc/gcc_4.1.1.bb | 3 | ||||
-rw-r--r-- | packages/gcc/gcc_4.1.2.bb | 3 |
4 files changed, 34 insertions, 2 deletions
diff --git a/packages/gcc/gcc-4.1.1/gcc-ignore-cache.patch b/packages/gcc/gcc-4.1.1/gcc-ignore-cache.patch new file mode 100644 index 0000000000..396b4b2345 --- /dev/null +++ b/packages/gcc/gcc-4.1.1/gcc-ignore-cache.patch @@ -0,0 +1,15 @@ +--- /gcc/orig-configure 2007-03-11 21:50:28.000000000 +0200 ++++ /gcc/configure 2007-03-11 21:53:27.000000000 +0200 +@@ -12272,9 +12272,11 @@ + esac + saved_CFLAGS="${CFLAGS}" + CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \ ++ CONFIG_SITE="" + ${realsrcdir}/configure \ + --enable-languages=${enable_languages-all} \ +- --target=$target_alias --host=$build_alias --build=$build_alias ++ --target=$target_alias --host=$build_alias --build=$build_alias \ ++ --cache-file=./tmp-cache + CFLAGS="${saved_CFLAGS}" + + # We just finished tests for the build machine, so rename diff --git a/packages/gcc/gcc-4.1.2/gcc-ignore-cache.patch b/packages/gcc/gcc-4.1.2/gcc-ignore-cache.patch new file mode 100644 index 0000000000..396b4b2345 --- /dev/null +++ b/packages/gcc/gcc-4.1.2/gcc-ignore-cache.patch @@ -0,0 +1,15 @@ +--- /gcc/orig-configure 2007-03-11 21:50:28.000000000 +0200 ++++ /gcc/configure 2007-03-11 21:53:27.000000000 +0200 +@@ -12272,9 +12272,11 @@ + esac + saved_CFLAGS="${CFLAGS}" + CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \ ++ CONFIG_SITE="" + ${realsrcdir}/configure \ + --enable-languages=${enable_languages-all} \ +- --target=$target_alias --host=$build_alias --build=$build_alias ++ --target=$target_alias --host=$build_alias --build=$build_alias \ ++ --cache-file=./tmp-cache + CFLAGS="${saved_CFLAGS}" + + # We just finished tests for the build machine, so rename diff --git a/packages/gcc/gcc_4.1.1.bb b/packages/gcc/gcc_4.1.1.bb index 104a8abb76..08ec8a0fa0 100644 --- a/packages/gcc/gcc_4.1.1.bb +++ b/packages/gcc/gcc_4.1.1.bb @@ -1,4 +1,4 @@ -PR = "r10" +PR = "r11" DESCRIPTION = "The GNU cc and gcc C compilers." HOMEPAGE = "http://www.gnu.org/software/gcc/" SECTION = "devel" @@ -32,6 +32,7 @@ SRC_URI = "http://ftp.gnu.org/pub/gnu/gcc/gcc-4.1.1/gcc-4.1.1.tar.bz2 \ file://unbreak-armv4t.patch;patch=1 \ file://fix-ICE-in-arm_unwind_emit_set.diff;patch=1 \ file://gcc-4.1.1-pr13685-1.patch;patch=1 \ + file://gcc-ignore-cache.patch;patch=1 \ " SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 " diff --git a/packages/gcc/gcc_4.1.2.bb b/packages/gcc/gcc_4.1.2.bb index 91f6624aa1..2794ffca8b 100644 --- a/packages/gcc/gcc_4.1.2.bb +++ b/packages/gcc/gcc_4.1.2.bb @@ -1,4 +1,4 @@ -PR = "r0" +PR = "r1" DESCRIPTION = "The GNU cc and gcc C compilers." HOMEPAGE = "http://www.gnu.org/software/gcc/" SECTION = "devel" @@ -24,6 +24,7 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-4.1.2/gcc-4.1.2.tar.bz2 \ file://arm-nolibfloat.patch;patch=1 \ file://arm-softfloat.patch;patch=1 \ file://gcc41-configure.in.patch;patch=1 \ + file://gcc-ignore-cache.patch;patch=1 \ file://arm-thumb.patch;patch=1 \ file://arm-thumb-cache.patch;patch=1 \ file://ldflags.patch;patch=1 \ |