diff --git a/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn b/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn index dd24b5b987b..0db8fca16a9 100644 --- a/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn +++ b/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn @@ -1,5 +1,13 @@ import("//clang/resource_dir.gni") +source_set("sources") { + configs -= [ "//llvm/utils/gn/build:llvm_code" ] + configs += [ "//llvm/utils/gn/build:crt_code" ] + sources = [ + "cfi.cpp", + ] +} + copy("blacklist") { sources = [ "cfi_blacklist.txt",