Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bce5507c authored by Prashanth Swaminathan's avatar Prashanth Swaminathan
Browse files

Enable sext.w removal for riscv targets

Bug: 275574215
Test: Verified boot complete on aosp_cf_riscv64_phone target.
Change-Id: I771dbc492075eec18919b66dc74ae524e3f4b3cd
parent 97f5966f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -28,6 +28,9 @@ var (
		"-fno-emulated-tls",
		// For -fsanitize=shadow-call-stack.
		"-ffixed-x18",
		// A temporary fix for SExtWRemoval miscompilation bug.
		"-mllvm",
		"-riscv-disable-sextw-removal=true",
	}

	riscv64ArchVariantCflags = map[string][]string{}