summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-4.1.1/gcc-ignore-cache.patch
diff options
context:
space:
mode:
authorStelios Koroneos <skoroneos@digital-opsis.com>2007-03-12 12:36:21 +0000
committerStelios Koroneos <skoroneos@digital-opsis.com>2007-03-12 12:36:21 +0000
commit8a99edb6e1f3eea465d389761eda63fcf31f7d85 (patch)
tree9af870b7e94fc246ff75770e43f787063fe57178 /packages/gcc/gcc-4.1.1/gcc-ignore-cache.patch
parent38f20b3486c8b16512cc27faab4fba42f231a668 (diff)
packages/gcc/gcc_4.1.1.bb: Make sure that the build machine uses the correct site files and not cached values which
contain target's data
Diffstat (limited to 'packages/gcc/gcc-4.1.1/gcc-ignore-cache.patch')
-rw-r--r--packages/gcc/gcc-4.1.1/gcc-ignore-cache.patch15
1 files changed, 15 insertions, 0 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