diff --git a/repos/ports/src/noux-pkg/bash/target.inc b/repos/ports/src/noux-pkg/bash/target.inc index a0506d6758..7a6b1bee4e 100644 --- a/repos/ports/src/noux-pkg/bash/target.inc +++ b/repos/ports/src/noux-pkg/bash/target.inc @@ -1,4 +1,12 @@ CONFIGURE_ARGS = --without-bash-malloc + +# +# Avoid aliasing with the libc 'getenv' to prevent the dynamic linker from +# resolving libc-internal references to the bash binary, which causes +# trouble for fork/execve. +# +CONFIGURE_ARGS += bash_cv_getenv_redef=no + CFLAGS += -Dsh_xfree=free #