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

Commit ba501421 authored by Yi Kong's avatar Yi Kong
Browse files

Turn off LTO for libaudioflinger_timing

unaligned __cfi_check in the library "libaudioflinger_timing.so" causes
device boot failure on global thinlto build. Disable LTO as a
workaround.

Test: presubmit
Bug: 289475610
Change-Id: Ibb3690897a953bec1d0c0c075796e75935889119
parent 3b70fc40
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -55,4 +55,10 @@ cc_library {
        "-Wall",
        "-Werror",
    ],

    // LTO causes unaligned __cfi_check in the library "libaudioflinger_timing.so"
    // http://b/289475610
    lto: {
        never: true,
    },
}