Skip to content

Commit

Permalink
llvmPackages_16.libunwind: fix aarch64-android build
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfmpe committed Jun 21, 2024
1 parent f0491eb commit ca473b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/development/compilers/llvm/common/libunwind/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ stdenv.mkDerivation (rec {
ninja python3
];

LDFLAGS = "-unwindlib=none";

cmakeFlags = lib.optional (lib.versionAtLeast release_version "15") "-DLLVM_ENABLE_RUNTIMES=libunwind"
++ lib.optional (!enableShared) "-DLIBUNWIND_ENABLE_SHARED=OFF";

Expand Down

0 comments on commit ca473b1

Please sign in to comment.