Browse Source

Stefan Fiedler:


			
			
				rocklinux
			
			
		
Stefan Fiedler 19 years ago
parent
commit
b464cbd52b
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      package/base/bash/bash.conf

+ 6
- 1
package/base/bash/bash.conf

@ -50,7 +50,12 @@ if [ $xpkg != $ROCKCFG_PKG_BASH_DEFAULT ]; then
fi fi
premake="cat /dev/null > lib/malloc/malloc.c" premake="cat /dev/null > lib/malloc/malloc.c"
confopt="$confopt --without-gnu-malloc"
# From http://www.linuxfromscratch.org/lfs/view/stable/chapter05/bash.html:
# This option turns off the use of Bash's memory allocation (malloc) function
# which is known to cause segmentation faults. By turning this option off,
# Bash will use the malloc functions from Glibc which are more stable.
var_append confopt " " "--without-bash-malloc"
if [ $xpkg = bash2 ]; then if [ $xpkg = bash2 ]; then
[ $stagelevel -eq 1 ] && confopt="$confopt --disable-readline" [ $stagelevel -eq 1 ] && confopt="$confopt --disable-readline"

Loading…
Cancel
Save