gcc: fix build with musl.
Signed-off-by: Christian Beier <cb@shoutrlabs.com>
This commit is contained in:
parent
0f4773bd3f
commit
82e56d1bf8
1 changed files with 4 additions and 0 deletions
|
@ -54,6 +54,10 @@ define Build/Prepare
|
||||||
# we have to download additional stuff before patching
|
# we have to download additional stuff before patching
|
||||||
(cd $(PKG_BUILD_DIR) && ./contrib/download_prerequisites)
|
(cd $(PKG_BUILD_DIR) && ./contrib/download_prerequisites)
|
||||||
$(Build/Patch)
|
$(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
|
endef
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue