Merge pull request #222901 from rrbutani/fix/llvm-git-static-build-fix

llvmPackages_git: apply #190936 (fix pkgsStatic LLVM build)

authored by Ryan Lahfa and committed by GitHub 5233468f 01051d8e

+1
+1
pkgs/development/compilers/llvm/git/llvm/default.nix
··· 270 # Disables building of shared libs, -fPIC is still injected by cc-wrapper 271 "-DLLVM_ENABLE_PIC=OFF" 272 "-DLLVM_BUILD_STATIC=ON" 273 # libxml2 needs to be disabled because the LLVM build system ignores its .la 274 # file and doesn't link zlib as well. 275 # https://github.com/ClangBuiltLinux/tc-build/issues/150#issuecomment-845418812
··· 270 # Disables building of shared libs, -fPIC is still injected by cc-wrapper 271 "-DLLVM_ENABLE_PIC=OFF" 272 "-DLLVM_BUILD_STATIC=ON" 273 + "-DLLVM_LINK_LLVM_DYLIB=off" 274 # libxml2 needs to be disabled because the LLVM build system ignores its .la 275 # file and doesn't link zlib as well. 276 # https://github.com/ClangBuiltLinux/tc-build/issues/150#issuecomment-845418812