one-true-awk: ignore macro redefinition warnings am: b870290420
am: b4f31d1433
Change-Id: I763f02e5bc06507f9063c28b3fd1c94c14f10d65
diff --git a/Android.bp b/Android.bp
index b991afb..85165c3 100644
--- a/Android.bp
+++ b/Android.bp
@@ -29,6 +29,9 @@
"-Wno-unused-parameter",
// And one less harmless used with strtod(3) in `lex.c`.
"-Wno-unused-result",
+ // Also ignore harmless macro redefinitions: glibc 2.17 #defines dprintf
+ // in stdio2.h, and this #defines it in awk.h
+ "-Wno-macro-redefined",
],
}