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
|
define Build/Prepare
|
||||||
$(call Build/Prepare/Default)
|
$(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; \
|
(cd $(PKG_BUILD_DIR)/libstdc++-v3; \
|
||||||
$(SED) 's/m4_rename(/m4_rename_force(/' acinclude.m4;);
|
$(SED) 's/m4_rename(/m4_rename_force(/' acinclude.m4;);
|
||||||
endef
|
endef
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
diff --git a/gcc/configure b/gcc/configure
|
|
||||||
index f7d4161..7f11021 100755
|
|
||||||
--- a/gcc/configure
|
--- a/gcc/configure
|
||||||
+++ b/gcc/configure
|
+++ b/gcc/configure
|
||||||
@@ -12972,7 +12972,7 @@ else
|
@@ -10527,7 +10527,7 @@
|
||||||
esac
|
|
||||||
saved_CFLAGS="${CFLAGS}"
|
saved_CFLAGS="${CFLAGS}"
|
||||||
CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \
|
CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \
|
||||||
|
LDFLAGS="${LDFLAGS_FOR_BUILD}" \
|
||||||
- ${realsrcdir}/configure \
|
- ${realsrcdir}/configure \
|
||||||
+ CONFIG_SITE= ${realsrcdir}/configure --cache-file=./other.cache \
|
+ CONFIG_SITE= ${realsrcdir}/configure --cache-file=./other.cache \
|
||||||
--enable-languages=${enable_languages-all} \
|
--enable-languages=${enable_languages-all} \
|
||||||
|
Loading…
Reference in New Issue
Block a user