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

Commit 07adf8b8 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Enable -Wexit-time-destructor for all targets"

parents 9c5c396d ca6ee833
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -56,6 +56,7 @@ cc_defaults {
        "test_utils.cpp",
    ],

    cppflags: ["-Wexit-time-destructors"],
    shared_libs: ["liblog"],
    target: {
        android: {
@@ -68,13 +69,11 @@ cc_defaults {
            srcs: [
                "errors_unix.cpp",
            ],
            cppflags: ["-Wexit-time-destructors"],
        },
        darwin: {
            srcs: [
                "errors_unix.cpp",
            ],
            cppflags: ["-Wexit-time-destructors"],
        },
        linux_bionic: {
            enabled: true,