diff options
author | 2024-03-08 23:37:23 -0800 | |
---|---|---|
committer | 2024-03-08 23:37:23 -0800 | |
commit | e9dfe778152b73131a84aee28487e9657a0de45d (patch) | |
tree | 4faee83e01e2577c2e2c27e1a96049f5dd3a299b /services/surfaceflinger/RegionSamplingThread.cpp | |
parent | 277c8f7a23f5e0cfe586e303899dfc201bee8702 (diff) |
Disable LTO for static linking with Rust-generated code
This eliminates the following error that was encountered when testing
the TOT LLVM build with aosp/main.
```
error: failed to build archive: 'input_cxx_bridge_generated.o': Unknown attribute kind (91) (Producer: 'LLVM19.0.0' Reader: 'LLVM 17.0.6')
```
Bug: http://b/328705924
Test: LLVM_PREBUILTS_VERSION=clang-dev LLVM_RELEASE_VERSION=19 LLVM_NEXT=true THINLTO_USE_MLGO=false mmm frameworks/native/libs/input/rust/
Change-Id: Ic08d289baaeb1a72b7f1c26e886670a26afdac65
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions