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

Commit 9721de4d authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "cc_baremetal_defaults: Disable SVE" into main

parents 565ee806 12d548a0
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -147,6 +147,16 @@ all_apex_contributions {
// Framework guests.
cc_defaults {
    name: "cc_baremetal_defaults",
    arch: {
        arm64: {
            cflags: [
                // Prevent the compiler from optimizing code using SVE, as the
                // baremetal environment might not have configured the hardware.
                "-Xclang -target-feature",
                "-Xclang -sve",
            ],
        },
    },
    defaults_visibility: ["//visibility:public"],
}