mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-22 06:07:49 +00:00
Merge pull request #1148 from dimkr/static-musl
Fix musl build when CT_SHARED_LIBS=n
This commit is contained in:
commit
3915ee47d0
@ -76,6 +76,11 @@ musl_backend_once() {
|
|||||||
extra_config+=("--enable-warnings")
|
extra_config+=("--enable-warnings")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
case "${CT_SHARED_LIBS}" in
|
||||||
|
y) extra_config+=("--enable-shared");;
|
||||||
|
*) extra_config+=("--disable-shared");;
|
||||||
|
esac
|
||||||
|
|
||||||
extra_config+=( "--enable-optimize=${CT_LIBC_MUSL_OPTIMIZE}" )
|
extra_config+=( "--enable-optimize=${CT_LIBC_MUSL_OPTIMIZE}" )
|
||||||
|
|
||||||
# Same problem as with uClibc: different variants sometimes have
|
# Same problem as with uClibc: different variants sometimes have
|
||||||
|
Loading…
Reference in New Issue
Block a user