diff options
| -rw-r--r-- | meta/recipes-extended/bash/bash.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc index d7b28cfffe..c06f157b8a 100644 --- a/meta/recipes-extended/bash/bash.inc +++ b/meta/recipes-extended/bash/bash.inc | |||
| @@ -9,6 +9,11 @@ inherit autotools gettext texinfo update-alternatives ptest | |||
| 9 | EXTRA_AUTORECONF += "--exclude=autoheader" | 9 | EXTRA_AUTORECONF += "--exclude=autoheader" |
| 10 | EXTRA_OECONF = "--enable-job-control" | 10 | EXTRA_OECONF = "--enable-job-control" |
| 11 | 11 | ||
| 12 | # If NON_INTERACTIVE_LOGIN_SHELLS is defined, all login shells read the | ||
| 13 | # startup files, even if they are not interactive. | ||
| 14 | # This is what other major distros do. And this is what we wanted. See bug#5359 and bug#7137. | ||
| 15 | CFLAGS += "-DNON_INTERACTIVE_LOGIN_SHELLS" | ||
| 16 | |||
| 12 | ALTERNATIVE_${PN} = "sh" | 17 | ALTERNATIVE_${PN} = "sh" |
| 13 | ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh" | 18 | ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh" |
| 14 | ALTERNATIVE_TARGET[sh] = "${base_bindir}/bash" | 19 | ALTERNATIVE_TARGET[sh] = "${base_bindir}/bash" |
