1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-24 20:02:28 +02:00

gcc-mips: restore cache-amnesia patch to fix build on x64

This commit is contained in:
kyak 2011-05-26 16:20:04 +04:00
parent 5fdb51a3e9
commit 681b260b4e
2 changed files with 3 additions and 5 deletions

View File

@ -45,7 +45,7 @@ endef
define Build/Prepare
$(call Build/Prepare/Default)
# ($(CP) ./patches $(PKG_BUILD_DIR); cd $(PKG_BUILD_DIR); patch -Np1 < ./patches/001-cache-amnesia.patch;);
($(CP) ./patches $(PKG_BUILD_DIR); cd $(PKG_BUILD_DIR); patch -Np1 < ./patches/001-cache-amnesia.patch;);
(cd $(PKG_BUILD_DIR)/libstdc++-v3; \
$(SED) 's/m4_rename(/m4_rename_force(/' acinclude.m4;);
endef

View File

@ -1,11 +1,9 @@
diff --git a/gcc/configure b/gcc/configure
index f7d4161..7f11021 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -12972,7 +12972,7 @@ else
esac
@@ -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} \