1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

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
This commit is contained in:
Peter Collingbourne 2019-01-08 04:00:22 +00:00
parent 7e788104a4
commit 91cddf4ad1

View File

@ -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 = [