1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-14 08:21:32 +02:00
openwrt-packages/gcc-mips/patches/001-cache-amnesia.patch

12 lines
418 B
Diff

--- a/gcc/configure
+++ b/gcc/configure
@@ -10527,7 +10527,7 @@
saved_CFLAGS="${CFLAGS}"
CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \
LDFLAGS="${LDFLAGS_FOR_BUILD}" \
- ${realsrcdir}/configure \
+ CONFIG_SITE= ${realsrcdir}/configure --cache-file=./other.cache \
--enable-languages=${enable_languages-all} \
--target=$target_alias --host=$build_alias --build=$build_alias
CFLAGS="${saved_CFLAGS}"