commit d82c9b33cfdde70ee1df04a290bcadf42960015d parent 0f4773bd3f1b5a0939391b9069eda3cc1f0d1753 Author: Steven Barth <steven@midlink.org> Date: Tue, 21 Jul 2015 16:09:26 +0200 Merge pull request #1604 from bk138/gcc-musl-fix gcc: fix build with musl. Diffstat:
| M | devel/gcc/Makefile | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/devel/gcc/Makefile b/devel/gcc/Makefile @@ -54,6 +54,10 @@ define Build/Prepare # we have to download additional stuff before patching (cd $(PKG_BUILD_DIR) && ./contrib/download_prerequisites) $(Build/Patch) +# poor man's fix for `none-openwrt-linux' not recognized when building with musl + cp $(PKG_BUILD_DIR)/config.sub $(PKG_BUILD_DIR)/mpfr/ + cp $(PKG_BUILD_DIR)/config.sub $(PKG_BUILD_DIR)/gmp/ + cp $(PKG_BUILD_DIR)/config.sub $(PKG_BUILD_DIR)/mpc/ endef