clang8: apply patch to disable xpc

This commit is contained in:
Matthew Bauer
2019-04-10 22:42:01 -04:00
parent bd50fc942b
commit 097122d2fd
2 changed files with 46 additions and 1 deletions
@@ -24,6 +24,7 @@ let
cmakeFlags = [
"-DCMAKE_CXX_FLAGS=-std=c++11"
"-DCLANGD_BUILD_XPC=OFF"
] ++ stdenv.lib.optionals enableManpages [
"-DCLANG_INCLUDE_DOCS=ON"
"-DLLVM_ENABLE_SPHINX=ON"
@@ -35,7 +36,10 @@ let
"-DLINK_POLLY_INTO_TOOLS=ON"
];
patches = [ ./purity.patch ];
patches = [
./purity.patch
./clang-xpc.patch
];
postPatch = ''
sed -i -e 's/DriverArgs.hasArg(options::OPT_nostdlibinc)/true/' \