mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
lttng-ust: fix musl crashes (#534603)
This commit is contained in:
commit
3344f9159e
1 changed files with 9 additions and 1 deletions
|
|
@ -67,7 +67,15 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
patchShebangs .
|
||||
'';
|
||||
|
||||
configureFlags = [ "--disable-examples" ];
|
||||
configureFlags = [
|
||||
"--disable-examples"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isMusl [
|
||||
# lttng-ust puts a single array on the stack that's the size of
|
||||
# musl's whole default stack.
|
||||
# https://review.lttng.org/c/lttng-ust/+/18160
|
||||
"CFLAGS=-Wl,-z,stack-size=2097152"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue