summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Aditya Kumar <appujee@google.com> 2024-06-26 18:44:59 +0000
committer Aditya Kumar <appujee@google.com> 2024-06-26 18:50:23 +0000
commite21f1f58df0c23ca54ea0945940ea23fcff4fc77 (patch)
treeb4d0fe009c16f921b7cab0486ed5a22654a337ad
parente5ef3e0ba01d26cd9423059d481dad49f00d0dd9 (diff)
Remove -mo-strict-align as it is enabled by default in clang-r522817
Cherry-picked in aosp/3009313 Related: https://github.com/google/android-riscv64/issues/111 Bug: 327307773 Change-Id: I996378fad09ce50fb432e1b4506ed273e3ec7019
-rw-r--r--cc/config/riscv64_device.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/cc/config/riscv64_device.go b/cc/config/riscv64_device.go
index 724676ae6..7baf095f8 100644
--- a/cc/config/riscv64_device.go
+++ b/cc/config/riscv64_device.go
@@ -29,8 +29,6 @@ var (
// This is already the driver's Android default, but duplicated here (and
// below) 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 qemu V works (https://gitlab.com/qemu-project/qemu/-/issues/1976)
// (Note that we'll probably want to wait for berberis to be good enough
// that most people don't care about qemu's V performance either!)