Revert "Try to fix build determinism problem"

This reverts commit 45289978bf.

Reason for revert: Reverting to remove merge conflict in toolchain
roll revert.

Original change's description:
> Try to fix build determinism problem
> 
> Change-Id: If88be33a79a26107d297b87da08e3c7abde4e7cb
> Reviewed-on: https://dart-review.googlesource.com/32665
> Reviewed-by: Ryan Macnak <rmacnak@google.com>
> Commit-Queue: Zach Anderson <zra@google.com>

TBR=sortie@google.com,rmacnak@google.com,zra@google.com

Change-Id: I37c23f11e87d2020d53068e457655a70a6349516
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/32801
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Zach Anderson <zra@google.com>
This commit is contained in:
Zach Anderson 2018-01-06 07:49:11 +00:00 committed by commit-bot@chromium.org
parent 32e310d8c6
commit cb115acf3c

View file

@ -129,7 +129,7 @@ template("gcc_toolchain") {
tool("alink") { tool("alink") {
rspfile = "{{output}}.rsp" rspfile = "{{output}}.rsp"
command = "rm -f {{output}} && $ar rcsD {{output}} @$rspfile" command = "rm -f {{output}} && $ar rcs {{output}} @$rspfile"
description = "AR {{output}}" description = "AR {{output}}"
rspfile_content = "{{inputs}}" rspfile_content = "{{inputs}}"
outputs = [ outputs = [
@ -209,7 +209,7 @@ template("gcc_toolchain") {
} else if (defined(invoker.llvm_objcopy)) { } else if (defined(invoker.llvm_objcopy)) {
strip = invoker.llvm_objcopy strip = invoker.llvm_objcopy
strip_command = strip_command =
"${strip} --strip-sections $outfile $stripped_outfile" "${strip} --strip-all $outfile $stripped_outfile"
command += " && " + strip_command command += " && " + strip_command
} }
if (defined(invoker.postlink)) { if (defined(invoker.postlink)) {