mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2025-04-21 12:27:27 +03:00
[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>
This commit is contained in:
@@ -45,6 +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;);
|
||||
$(SED) 's,\(version_string.. = "[0-9\.]*\).*\(";\),\1 (OpenWrt-2.0)\2,' $(PKG_BUILD_DIR)/gcc/version.c
|
||||
$(SED) 's,\(bug_report_url.. = "\).*\(";\),\1<URL:https://dev.openwrt.org/>\2,' $(PKG_BUILD_DIR)/gcc/version.c
|
||||
(cd $(PKG_BUILD_DIR)/libstdc++-v3; autoconf;);
|
||||
|
||||
Reference in New Issue
Block a user