From: Christian Beier Date: Tue, 21 Jul 2015 13:58:29 +0000 (+0200) Subject: gcc: fix build with musl. X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=82e56d1bf871712e9baa5c8199e12bec210cfa8e;p=openwrt-packages.git gcc: fix build with musl. Signed-off-by: Christian Beier --- diff --git a/devel/gcc/Makefile b/devel/gcc/Makefile index 9cdde88dd..1f3f0e3db 100644 --- 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