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
This commit is contained in:
Pierre-Clément Tosi 2023-10-11 15:45:17 +01:00
parent 8246453859
commit 6c25e96cf6
2 changed files with 2 additions and 0 deletions

View file

@ -48,6 +48,7 @@ cc_defaults {
cflags: [
"-Wall",
"-Werror",
"-Wno-macro-redefined",
"-Wno-sign-compare",
"-Wno-missing-field-initializers",
"-Wno-unused-parameter",

View file

@ -15,6 +15,7 @@ cc_library(
COPTS = [
"-Wall",
"-Werror",
"-Wno-macro-redefined",
"-Wno-sign-compare",
"-Wno-missing-field-initializers",
"-Wno-unused-parameter",