diff options
Diffstat (limited to 'package/bash')
-rw-r--r-- | package/bash/bash.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/package/bash/bash.mk b/package/bash/bash.mk index d51e2037dd..0c8a954b20 100644 --- a/package/bash/bash.mk +++ b/package/bash/bash.mk @@ -16,6 +16,15 @@ BASH_CONF_ENV += \ bash_cv_func_sigsetjmp=present \ bash_cv_printf_a_format=yes +# Parallel build sometimes fails because some of the generator tools +# are built twice (i.e. while executing). +BASH_MAKE = $(MAKE1) + +# The static build needs some trickery +ifeq ($(BR2_PREFER_STATIC_LIB),y) +BASH_CONF_OPT += --enable-static-link --without-bash-malloc +endif + # Make sure we build after busybox so that /bin/sh links to bash ifeq ($(BR2_PACKAGE_BUSYBOX),y) BASH_DEPENDENCIES += busybox |