From be87d447b40ee471ae0fdc8efde2c33d4bcc68b0 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 26 Mar 2019 18:50:22 -0700 Subject: [PATCH] libprocessgroup: add -Wexit-time-destructors. Exit time destructors already caused trouble (see dba6d44376a3301acfb8fd7e7c5159b25736b09e), and without this warning, it's too easy to reintroduce issues. Bug: 129023204 Test: builds Change-Id: If5fb4d0c11c74ba4971bb218059c6d37edeaf4df --- libprocessgroup/Android.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/libprocessgroup/Android.bp b/libprocessgroup/Android.bp index d97f09fad..07cbce987 100644 --- a/libprocessgroup/Android.bp +++ b/libprocessgroup/Android.bp @@ -45,5 +45,6 @@ cc_library { cflags: [ "-Wall", "-Werror", + "-Wexit-time-destructors", ], }