diff options
author | David Collins <dcollin@sandia.gov> | 2024-09-13 03:54:56 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-13 03:54:56 -0600 |
commit | a85afb829e70616585e7ae94ba90a85e6a70ae15 (patch) | |
tree | b93e0d7083e4491d739fce0bd1dfe2643fe3c11c /var | |
parent | 71df434d1fdf719dd781b1c7d48f4e9b4bf8da7d (diff) | |
download | spack-a85afb829e70616585e7ae94ba90a85e6a70ae15.tar.gz spack-a85afb829e70616585e7ae94ba90a85e6a70ae15.tar.bz2 spack-a85afb829e70616585e7ae94ba90a85e6a70ae15.tar.xz spack-a85afb829e70616585e7ae94ba90a85e6a70ae15.zip |
bash: use libc malloc on musl instead of internal malloc (#46370)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/bash/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/bash/package.py b/var/spack/repos/builtin/packages/bash/package.py index 3e52052106..1aa02c1f7a 100644 --- a/var/spack/repos/builtin/packages/bash/package.py +++ b/var/spack/repos/builtin/packages/bash/package.py @@ -203,6 +203,9 @@ class Bash(AutotoolsPackage, GNUMirrorPackage): args.append(f"--with-libiconv-prefix={spec['iconv'].prefix}") else: args.append("--without-libiconv-prefix") + # bash malloc relies on sbrk which fails intentionally in musl + if spec.satisfies("^[virtuals=libc] musl"): + options.append("--without-bash-malloc") return args def check(self): |