[PATCH] D80591: Patch up issues with GN builds (pthread / libz)
Mitch Phillips via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 26 15:17:44 PDT 2020
hctim updated this revision to Diff 266344.
hctim added a comment.
Move dependencies inside the group.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80591/new/
https://reviews.llvm.org/D80591
Files:
llvm/utils/gn/build/toolchain/BUILD.gn
Index: llvm/utils/gn/build/toolchain/BUILD.gn
===================================================================
--- llvm/utils/gn/build/toolchain/BUILD.gn
+++ llvm/utils/gn/build/toolchain/BUILD.gn
@@ -88,7 +88,7 @@
if (current_os == "mac") {
command = "$ld {{ldflags}} -o $outfile {{libs}} {{inputs}}"
} 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 ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80591.266344.patch
Type: text/x-patch
Size: 618 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200526/1acfeee4/attachment.bin>
More information about the llvm-commits
mailing list