bash: disable bash malloc by default
authorDaniel Sabogal <dsabogalcc@gmail.com>
Tue, 23 May 2017 17:19:31 +0000 (13:19 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 31 May 2017 20:36:15 +0000 (22:36 +0200)
commit43552504c8aacda2a163c933203a3b77146409c1
treeed732e88b6b3eb4073266ea216242a0548bd1ec9
parent17aa47fa2cf1cd60809aa70500e8611b6f3abebf
bash: disable bash malloc by default

Bash's malloc relies on sbrk which is implemented as a fail-only stub in
musl. Presently, it is disabled when configured for static
libs. Instead, default to using libc malloc.

Fixes:

  # bash
  bash: xmalloc: locale.c:81: cannot allocate 18 bytes (0 bytes allocated)

Signed-off-by: Daniel Sabogal <dsabogalcc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/bash/bash.mk