mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-04-19 00:26:55 +00:00
newlib: disable multilib if it is not enabled
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
This commit is contained in:
parent
867a7d61ac
commit
9d5fc3fd9b
@ -65,6 +65,11 @@ do_libc() {
|
||||
|
||||
CT_DoLog EXTRA "Configuring C library"
|
||||
|
||||
# Multilib is the default, so if it is not enabled, disable it.
|
||||
if [ "${CT_MULTILIB}" != "y" ]; then
|
||||
extra_config+=("--disable-multilib")
|
||||
fi
|
||||
|
||||
if [ "${CT_LIBC_NEWLIB_IO_C99FMT}" = "y" ]; then
|
||||
newlib_opts+=( "--enable-newlib-io-c99-formats" )
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user