From a6235d2cc473410e7fffcd2c10d2357045a0b76d Mon Sep 17 00:00:00 2001 From: James Martin Date: Thu, 26 Mar 2020 15:39:45 -0700 Subject: [PATCH] Added AVR components to LLVM_LINK_COMPONENTS to fix the build on Linux. `-Werror` must still be removed from `target_compile_options` to build with GCC. Presumably the build would work without any further modifications with Clang, but I have not tested it. --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a1a918ecd..fb7d4cb10 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,6 +45,10 @@ set(LLVM_LINK_COMPONENTS AMDGPUInfo AMDGPUAsmParser AMDGPUCodeGen + AVRAsmParser + AVRInfo + AVRDesc + AVRCodeGen BPFInfo BPFAsmParser BPFDisassembler