1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-18 03:39:42 +02:00
openwrt-packages/gcc-mips/patches/001-cache-amnesia.patch
Xiangfu Liu 30e2a2aca8 [gcc-mips] fix compile error in 64bit system.
ERR MSG: real.h:82: error: size of array 'test_real_width' is negative

when gcc-mips compiling. it's first apply openwrt/toolchain/gcc.../patches.
it not apply package/gcc-mips/patches. so this patch is manuly apply this
patch.

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
2010-11-08 00:58:17 +08:00

14 lines
468 B
Diff

diff --git a/gcc/configure b/gcc/configure
index f7d4161..7f11021 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -12972,7 +12972,7 @@ else
esac
saved_CFLAGS="${CFLAGS}"
CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_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}"