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

Commit d53ea9b1 authored by Pirama Arumuga Nainar's avatar Pirama Arumuga Nainar Committed by android-build-merger
Browse files

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

am: 07adf8b8

Change-Id: Ifc5c85acfedff60497e3f3d91032a1e0dbc73a8c
parents e06ca15f 07adf8b8
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -56,6 +56,7 @@ cc_defaults {
        "test_utils.cpp",
        "test_utils.cpp",
    ],
    ],


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