pkgsStatic.llvm_14: fix build

This commit is contained in:
Alyssa Ross 2022-09-12 14:32:08 +00:00
parent 71b3cef6db
commit 723a5645b5

View File

@ -148,6 +148,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