Merge "[cc:riscv64] Do not pass -mno-strict-align while linking" into main am: f586a2582d

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3007063

Change-Id: I9e71f2ba3439be250153f4863ceaadcabeef0c6d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2024-03-20 20:46:49 +00:00
committed by Automerger Merge Worker

View File

@@ -45,8 +45,6 @@ var (
// This is already the driver's Android default, but duplicated here (and
// above) for ease of experimentation with additional extensions.
"-march=rv64gcv_zba_zbb_zbs",
// TODO: move to driver (https://github.com/google/android-riscv64/issues/111)
"-mno-strict-align",
// TODO: remove when clang default changed (https://github.com/google/android-riscv64/issues/124)
"-Wl,-mllvm -Wl,-jump-is-expensive=false",
}