riscv64: disable a weird option. am: bee01f7d62

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

Change-Id: I5d38048a2be038b68f19df318e215c1c4d468b85
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Elliott Hughes 2023-12-04 16:52:42 +00:00 committed by Automerger Merge Worker
commit 3465d10154

View file

@ -39,6 +39,9 @@ var (
// Equivalent to "-munaligned-access", but our clang doesn't have that yet.
"-Xclang -target-feature -Xclang +unaligned-scalar-mem",
"-Xclang -target-feature -Xclang +unaligned-vector-mem",
// We should change the default for this in clang, but for now...
// (https://github.com/google/android-riscv64/issues/124)
"-mllvm -jump-is-expensive=false",
}
riscv64Lldflags = append(riscv64Ldflags,