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

Commit 0ccfdc4f authored by Yi Kong's avatar Yi Kong
Browse files

Remove -fwhole-program-vtables flags from librenderengine static library

-fwhole-program-vtables optimisation is not possible
for a static library, since at linking stage there are
other parts that are not LTO'ed.

Test: presubmit
Change-Id: I64bccf091fa62d91ca8e3bb9aa0658a0c99ca2d7
parent fd0e2531
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -71,9 +71,6 @@ cc_library_static {
        "-fvisibility=hidden",
        "-Werror=format",
    ],
    cppflags: [
        "-fwhole-program-vtables", // requires ThinLTO
    ],
    srcs: [
        ":librenderengine_sources",
        ":librenderengine_gl_sources",