Skip to content

Commit

Permalink
newlib: disable multilib if it is not enabled
Browse files Browse the repository at this point in the history
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
  • Loading branch information
bhundven committed Mar 8, 2016
1 parent 867a7d6 commit 9d5fc3f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/build/libc/newlib.sh
Expand Up @@ -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
Expand Down

0 comments on commit 9d5fc3f

Please sign in to comment.