Skip to content

Commit

Permalink
Merge pull request #222901 from rrbutani/fix/llvm-git-static-build-fix
Browse files Browse the repository at this point in the history
llvmPackages_git: apply #190936 (fix pkgsStatic LLVM build)
  • Loading branch information
RaitoBezarius authored Apr 5, 2023
2 parents 01051d8 + e505ffd commit 5233468
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/development/compilers/llvm/git/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ in stdenv.mkDerivation (rec {
# Disables building of shared libs, -fPIC is still injected by cc-wrapper
"-DLLVM_ENABLE_PIC=OFF"
"-DLLVM_BUILD_STATIC=ON"
"-DLLVM_LINK_LLVM_DYLIB=off"
# libxml2 needs to be disabled because the LLVM build system ignores its .la
# file and doesn't link zlib as well.
# https://github.com/ClangBuiltLinux/tc-build/issues/150#issuecomment-845418812
Expand Down

0 comments on commit 5233468

Please sign in to comment.