ANDROID: Use -Wno-macro-redefined for DTC tools
As we use the flag when building libfdt, also enable it for the tools.
Test: m dtc fdtget fdtoverlay
Test: bazel build //:all
Change-Id: I3c0775436bb9be1367e1937e99a6e87d1dce664c
diff --git a/Android.bp b/Android.bp
index cb13748..a194eef 100644
--- a/Android.bp
+++ b/Android.bp
@@ -48,6 +48,7 @@
cflags: [
"-Wall",
"-Werror",
+ "-Wno-macro-redefined",
"-Wno-sign-compare",
"-Wno-missing-field-initializers",
"-Wno-unused-parameter",
diff --git a/BUILD.bazel b/BUILD.bazel
index 439621d..5ef46e7 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -15,6 +15,7 @@
COPTS = [
"-Wall",
"-Werror",
+ "-Wno-macro-redefined",
"-Wno-sign-compare",
"-Wno-missing-field-initializers",
"-Wno-unused-parameter",