mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
llvm 14 lld: build with 2M stack size to fix firefox lto
This commit is contained in:
parent
94cad6ec1a
commit
6485a02fb3
@ -37,6 +37,7 @@ stdenv.mkDerivation rec {
|
||||
cmakeFlags = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
"-DLLVM_TABLEGEN_EXE=${buildLlvmTools.llvm}/bin/llvm-tblgen"
|
||||
];
|
||||
LDFLAGS = lib.optionalString stdenv.hostPlatform.isMusl "-Wl,-z,stack-size=2097152";
|
||||
|
||||
outputs = [ "out" "lib" "dev" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user