From 8a863ae847d4897b01019ac89716331ba7d93bde Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 6 Dec 2018 12:04:42 -0500 Subject: [PATCH] use conlyflags in Android.bp when appropriate --- Android.bp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Android.bp b/Android.bp index 2f5c631..5607b07 100644 --- a/Android.bp +++ b/Android.bp @@ -1,5 +1,4 @@ common_cflags = [ - "-std=c11", "-O3", //"-flto", "-fPIC", @@ -11,7 +10,6 @@ common_cflags = [ "-Wcast-align", "-Wcast-qual", "-Wwrite-strings", - "-Wmissing-prototypes", "-DH_MALLOC_PREFIX", "-DZERO_ON_FREE=true", "-DWRITE_AFTER_FREE_CHECK=true", @@ -32,6 +30,7 @@ cc_defaults { name: "hardened_malloc_defaults", defaults: ["linux_bionic_supported"], cflags: common_cflags, + conlyflags: ["-std=c11", "-Wmissing-prototypes"], stl: "none", }