Skip to content

Commit

Permalink
llvmPackages_git: apply #190936 (fix pkgsStatic LLVM build)
Browse files Browse the repository at this point in the history
This was applied to `llvmPackages_15` in
81ef82a
  • Loading branch information
rrbutani committed Apr 3, 2023
1 parent e835abc commit e505ffd
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 e505ffd

Please sign in to comment.