[PATCH] D56426: gn build: Stop passing -o to ar.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 7 20:04:00 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL350604: gn build: Stop passing -o to ar. (authored by pcc, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D56426?vs=180604&id=180606#toc

Repository:
  rL LLVM

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

https://reviews.llvm.org/D56426

Files:
  llvm/trunk/utils/gn/build/toolchain/BUILD.gn


Index: llvm/trunk/utils/gn/build/toolchain/BUILD.gn
===================================================================
--- llvm/trunk/utils/gn/build/toolchain/BUILD.gn
+++ llvm/trunk/utils/gn/build/toolchain/BUILD.gn
@@ -51,7 +51,7 @@
       # Remove the output file first so that ar doesn't try to modify the
       # existing file.
       command =
-          "rm -f {{output}} && ar rcsDT {{arflags}} -o {{output}} {{inputs}}"
+          "rm -f {{output}} && ar rcsDT {{arflags}} {{output}} {{inputs}}"
     }
     description = "AR {{output}}"
     outputs = [


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56426.180606.patch
Type: text/x-patch
Size: 566 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190108/29b236bd/attachment.bin>


More information about the llvm-commits mailing list