aboutsummaryrefslogtreecommitdiffstats
path: root/cc
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-03-31 11:59:51 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-03-31 11:59:51 -0700
commit50ec199881b29614afec3424ac904ba8957704cb (patch)
tree199a973ca3a8dc4275581dcf7977f036a1fe0fdb /cc
parent61cd12b4bedf0533d6b21d5a70e9d0ec5c229d50 (diff)
parent0a31c21da05c9637feeafbfb975da8c53395d6d0 (diff)
downloadbuild_soong-50ec199881b29614afec3424ac904ba8957704cb.tar.gz
build_soong-50ec199881b29614afec3424ac904ba8957704cb.tar.bz2
build_soong-50ec199881b29614afec3424ac904ba8957704cb.zip
Merge "Restat clang linker outputs" am: 51e265c5dd
am: 0a31c21da0 Change-Id: I1673d9eba4399e26235b92b53f240d91842b1ee4
Diffstat (limited to 'cc')
-rw-r--r--cc/builder.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/builder.go b/cc/builder.go
index dab887c4..6dd7c056 100644
--- a/cc/builder.go
+++ b/cc/builder.go
@@ -70,6 +70,8 @@ var (
CommandDeps: []string{"$ldCmd"},
Rspfile: "${out}.rsp",
RspfileContent: "${in}",
+ // clang -Wl,--out-implib doesn't update its output file if it hasn't changed.
+ Restat: true,
},
"ldCmd", "crtBegin", "libFlags", "crtEnd", "ldFlags")