diff options
author | 2025-02-20 14:20:24 -0800 | |
---|---|---|
committer | 2025-02-20 14:20:24 -0800 | |
commit | 6fadc657d028eade2ad8c35c53b6ef7f404b5c63 (patch) | |
tree | 706e23852a6c461f165e0d81020dbe0aba1a2336 | |
parent | fe8ca2cd5852d9ab88bde510b4803288a96449e2 (diff) |
Revert^2 "[RISCV] Disable linker relaxation for now"
This reverts commit fe8ca2cd5852d9ab88bde510b4803288a96449e2.
Reason for revert: Breaking git_main-throttled-monitored on test_suites_riscv-trunk_staging. The bug is non-deterministic so it was assumed to be fixed in local testing.
Bug: 398000890
Change-Id: Ie21209eea4f191aa20576872bd4b25ae40614b2f
-rw-r--r-- | Android.bp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp index da429e21c2..3ea90eb91b 100644 --- a/Android.bp +++ b/Android.bp @@ -81,6 +81,11 @@ cc_defaults { ], c_std: "c99", cpp_std: "c++20", + arch: { + riscv64: { + ldflags: ["-Wl,--no-relax"], + }, + }, } // List of tidy checks that are enabled for cc targets. |