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>
This commit is contained in:
Zachary Anderson 2018-01-05 14:02:29 -08:00 committed by commit-bot@chromium.org
parent 0add93f98e
commit 45289978bf

View file

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