[PATCH] D55941: [gn check] Unbreak check-lld if llvm_install_binutils_symlinks is false

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 20 14:00:43 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL349836: [gn check] Unbreak check-lld if llvm_install_binutils_symlinks is false (authored by nico, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D55941?vs=179096&id=179154#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55941/new/

https://reviews.llvm.org/D55941

Files:
  llvm/trunk/utils/gn/secondary/llvm/tools/llvm-nm/BUILD.gn
  llvm/trunk/utils/gn/secondary/llvm/tools/llvm-objdump/BUILD.gn


Index: llvm/trunk/utils/gn/secondary/llvm/tools/llvm-nm/BUILD.gn
===================================================================
--- llvm/trunk/utils/gn/secondary/llvm/tools/llvm-nm/BUILD.gn
+++ llvm/trunk/utils/gn/secondary/llvm/tools/llvm-nm/BUILD.gn
@@ -13,10 +13,11 @@
 
 # //:llvm-nm depends on this symlink target, see comment in //BUILD.gn.
 group("symlinks") {
+  deps = [
+    ":llvm-nm",
+  ]
   if (llvm_install_binutils_symlinks) {
-    deps = [
-      ":nm",
-    ]
+    deps += [ ":nm" ]
   }
 }
 
Index: llvm/trunk/utils/gn/secondary/llvm/tools/llvm-objdump/BUILD.gn
===================================================================
--- llvm/trunk/utils/gn/secondary/llvm/tools/llvm-objdump/BUILD.gn
+++ llvm/trunk/utils/gn/secondary/llvm/tools/llvm-objdump/BUILD.gn
@@ -13,10 +13,11 @@
 
 # //:llvm-nm depends on this symlink target, see comment in //BUILD.gn.
 group("symlinks") {
+  deps = [
+    ":llvm-objdump",
+  ]
   if (llvm_install_binutils_symlinks) {
-    deps = [
-      ":objdump",
-    ]
+    deps += [ ":objdump" ]
   }
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55941.179154.patch
Type: text/x-patch
Size: 1062 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181220/32ba50b7/attachment-0001.bin>


More information about the llvm-commits mailing list