[llvm] 184b437 - Move DSO dependencies inside the group.
Mitch Phillips via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 9 13:03:03 PDT 2020
Author: Mitch Phillips
Date: 2020-06-09T13:01:40-07:00
New Revision: 184b437699d31e189091facbfdd3b2acb7016142
URL: https://github.com/llvm/llvm-project/commit/184b437699d31e189091facbfdd3b2acb7016142
DIFF: https://github.com/llvm/llvm-project/commit/184b437699d31e189091facbfdd3b2acb7016142.diff
LOG: Move DSO dependencies inside the group.
Added:
Modified:
llvm/utils/gn/build/toolchain/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/build/toolchain/BUILD.gn b/llvm/utils/gn/build/toolchain/BUILD.gn
index 86e95d3de188..30d3ceaec659 100644
--- a/llvm/utils/gn/build/toolchain/BUILD.gn
+++ b/llvm/utils/gn/build/toolchain/BUILD.gn
@@ -88,7 +88,7 @@ template("unix_toolchain") {
if (current_os == "mac") {
command = "$ld {{ldflags}} -o $outfile {{inputs}} {{libs}}"
} else {
- command = "$ld {{ldflags}} -o $outfile -Wl,--start-group {{inputs}} -Wl,--end-group {{libs}}"
+ command = "$ld {{ldflags}} -o $outfile -Wl,--start-group {{inputs}} {{libs}} -Wl,--end-group"
}
description = "LINK $outfile"
outputs = [ outfile ]
More information about the llvm-commits
mailing list