diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2019-01-08 04:00:22 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2019-01-08 04:00:22 +0000 |
commit | bc9c8a28bc86c680c84d8df937239885be283e5c (patch) | |
tree | 02ba276932d728400094aff19b99e7660e662020 | |
parent | 8f9346922c2e9a8dff14cbaeb2b2eb7646b49ba3 (diff) | |
download | bcm5719-llvm-bc9c8a28bc86c680c84d8df937239885be283e5c.tar.gz bcm5719-llvm-bc9c8a28bc86c680c84d8df937239885be283e5c.zip |
gn build: Stop passing -o to ar.
The -o flag means something different to ar than what appears to be
intended here. Also, llvm-ar doesn't accept the flag in this position.
Differential Revision: https://reviews.llvm.org/D56426
llvm-svn: 350604
-rw-r--r-- | llvm/utils/gn/build/toolchain/BUILD.gn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/gn/build/toolchain/BUILD.gn b/llvm/utils/gn/build/toolchain/BUILD.gn index 927a53d9d63..e1254afc0f5 100644 --- a/llvm/utils/gn/build/toolchain/BUILD.gn +++ b/llvm/utils/gn/build/toolchain/BUILD.gn @@ -51,7 +51,7 @@ toolchain("unix") { # 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 = [ |