mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
gcc: fix build with musl.
Signed-off-by: Christian Beier <cb@shoutrlabs.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user