llvmPackages_7.lldClang: add libunwind to extraLibraries

This commit is contained in:
sternenseemann 2021-04-26 21:46:44 +02:00 committed by John Ericson
parent 53adcfb798
commit 894a09dfd2

View File

@ -106,6 +106,8 @@ let
extraPackages = [
targetLlvmLibraries.libcxxabi
targetLlvmLibraries.compiler-rt
] ++ lib.optionals (!stdenv.targetPlatform.isWasm) [
targetLlvmLibraries.libunwind
];
extraBuildCommands = ''
echo "-rtlib=compiler-rt -Wno-unused-command-line-argument" >> $out/nix-support/cc-cflags