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" ] } }