diff options
author | a-n-n-a-l-e-e <150648636+a-n-n-a-l-e-e@users.noreply.github.com> | 2024-03-27 13:34:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-27 13:34:59 -0700 |
commit | 365bae4c5a2a9ef6e8bf4bfaa59feb767fa34436 (patch) | |
tree | 6cbf9757a8c29a56f4a26adf87a71097b63c5105 /pkgs/development/compilers/llvm | |
parent | ab6071eb54cc9b66dda436111d4f569e4e56cbf4 (diff) | |
parent | 555c7d1ba153b738356518ab1cfce4342582c3e5 (diff) |
Merge pull request #295358 from SharzyL/llvm17_libunwind
llvmPackages_17.clangUseLLVM: apply omitted #220520
Diffstat (limited to 'pkgs/development/compilers/llvm')
-rw-r--r-- | pkgs/development/compilers/llvm/17/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/compilers/llvm/17/default.nix b/pkgs/development/compilers/llvm/17/default.nix index a9138e3c79b67..c8d9569253450 100644 --- a/pkgs/development/compilers/llvm/17/default.nix +++ b/pkgs/development/compilers/llvm/17/default.nix @@ -213,6 +213,7 @@ in let (!stdenv.targetPlatform.isWasm && stdenv.targetPlatform.useLLVM or false) "-lunwind" ++ lib.optional stdenv.targetPlatform.isWasm "-fno-exceptions"; + nixSupport.cc-ldflags = lib.optionals (!stdenv.targetPlatform.isWasm) [ "-L${targetLlvmLibraries.libunwind}/lib" ]; }; clangNoLibcxx = wrapCCWith rec { |