projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
525ad2d
)
eclass: add support to toolchain.eclass for musl
author
Jory Pratt
<anarchy@gentoo.org>
Fri, 24 May 2019 03:16:41 +0000
(22:16 -0500)
committer
Jory Pratt
<anarchy@gentoo.org>
Fri, 24 May 2019 03:19:22 +0000
(22:19 -0500)
Signed-off-by: Jory Pratt <anarchy@gentoo.org>
eclass/toolchain.eclass
patch
|
blob
|
history
diff --git
a/eclass/toolchain.eclass
b/eclass/toolchain.eclass
index 9df8ecf69beacdc2fd3da9d1d3ca6020ae98d407..cf6a953372198df828a92ee3ac7e3ecb4c10bfed 100644
(file)
--- a/
eclass/toolchain.eclass
+++ b/
eclass/toolchain.eclass
@@
-1112,6
+1112,9
@@
toolchain_src_configure() {
*-elf|*-eabi)
confgcc+=( --with-newlib )
;;
+ *-musl*)
+ confgcc+=( --enable-__cxa_atexit )
+ ;;
*-gnu*)
confgcc+=(
--enable-__cxa_atexit