Suppress deprecated declaration and pointer arithmetic warnings on darwin.
am: b788eb5da7
Change-Id: Iee79b64488d75d7bd7026132821dd1e9fde59f4c
diff --git a/Android.bp b/Android.bp
index 8128dea..d4391de 100644
--- a/Android.bp
+++ b/Android.bp
@@ -39,7 +39,10 @@
// Regenerate include dirs with android_regen.sh
darwin_x86_64: {
local_include_dirs: ["darwin_x86_64/pyconfig"],
- // cflags: ["-Werror"], // still has warnings on darwin
+ cflags: [
+ "-Wno-deprecated-declarations",
+ "-Wno-pointer-arith",
+ ],
},
linux_glibc_x86_64: {
local_include_dirs: ["linux_x86_64/pyconfig"],