From e21f1f58df0c23ca54ea0945940ea23fcff4fc77 Mon Sep 17 00:00:00 2001 From: Aditya Kumar Date: Wed, 26 Jun 2024 18:44:59 +0000 Subject: [PATCH] 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 --- cc/config/riscv64_device.go | 2 -- 1 file changed, 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!)