diff --git a/pkgs/development/compilers/llvm/common/libunwind/default.nix b/pkgs/development/compilers/llvm/common/libunwind/default.nix index cc73f02be4e6..f0e39e7ed391 100644 --- a/pkgs/development/compilers/llvm/common/libunwind/default.nix +++ b/pkgs/development/compilers/llvm/common/libunwind/default.nix @@ -12,7 +12,7 @@ python3, libcxx, enableShared ? !stdenv.hostPlatform.isStatic, - doFakeLibgcc ? stdenv.hostPlatform.useLLVM, + doFakeLibgcc ? stdenv.hostPlatform.useLLVM && !stdenv.hostPlatform.isStatic, devExtraCmakeFlags ? [ ], getVersionFile, }: