[llvm] aaecabe - [gn build] port 1fda6f6859aa (lld driver_executable)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 13 16:56:53 PDT 2022
Author: Nico Weber
Date: 2022-10-13T19:56:42-04:00
New Revision: aaecabe68b6add7874d481e67cd430cb6f06cb82
URL: https://github.com/llvm/llvm-project/commit/aaecabe68b6add7874d481e67cd430cb6f06cb82
DIFF: https://github.com/llvm/llvm-project/commit/aaecabe68b6add7874d481e67cd430cb6f06cb82.diff
LOG: [gn build] port 1fda6f6859aa (lld driver_executable)
Added:
Modified:
llvm/utils/gn/secondary/lld/tools/lld/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/lld/tools/lld/BUILD.gn b/llvm/utils/gn/secondary/lld/tools/lld/BUILD.gn
index d6935c0dba083..d84cb6f0a49e7 100644
--- a/llvm/utils/gn/secondary/lld/tools/lld/BUILD.gn
+++ b/llvm/utils/gn/secondary/lld/tools/lld/BUILD.gn
@@ -1,3 +1,4 @@
+import("//llvm/utils/gn/build/driver_executable.gni")
import("//llvm/utils/gn/build/symlink_or_copy.gni")
symlinks = [
@@ -22,7 +23,7 @@ group("symlinks") {
}
}
-executable("lld") {
+driver_executable("lld") {
configs += [ "//llvm/utils/gn/build:lld_code" ]
deps = [
"//lld/COFF",
More information about the llvm-commits
mailing list