Skip to content

Commit

Permalink
llvm 14 lld: build with 2M stack size to fix firefox lto
Browse files Browse the repository at this point in the history
  • Loading branch information
yu-re-ka committed Sep 20, 2022
1 parent 94cad6e commit 6485a02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/development/compilers/llvm/14/lld/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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" ];

Expand Down

0 comments on commit 6485a02

Please sign in to comment.