projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f4773b
)
gcc: fix build with musl.
author
Christian Beier
<
[email protected]
>
Tue, 21 Jul 2015 13:58:29 +0000
(15:58 +0200)
committer
Christian Beier
<
[email protected]
>
Tue, 21 Jul 2015 14:01:59 +0000
(16:01 +0200)
Signed-off-by: Christian Beier <
[email protected]
>
devel/gcc/Makefile
patch
|
blob
|
history
diff --git
a/devel/gcc/Makefile
b/devel/gcc/Makefile
index 9cdde88dda2f66f208b5e58523fc0c2b59081e9b..1f3f0e3db7c5c64478e03beec5130bd14b739436 100644
(file)
--- 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