mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-16 18:54:04 +02:00
gcc-mips: restore cache-amnesia patch to fix build on x64
This commit is contained in:
parent
5fdb51a3e9
commit
681b260b4e
@ -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
|
||||
|
@ -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} \
|
||||
|
Loading…
Reference in New Issue
Block a user