diff options
author | Christopher Ferris <cferris@google.com> | 2022-10-04 20:22:16 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2022-10-06 13:40:22 -0700 |
commit | acad30c65fb5c3ca69e42b25b212ef37b65ba0f8 (patch) | |
tree | 4dbb8fade585c2cb05c86e3d05e4ee292685da2b | |
parent | ed2525426edac60efc8f618755dbebad703ad26d (diff) | |
download | iproute2-acad30c65fb5c3ca69e42b25b212ef37b65ba0f8.tar.gz |
Ignore variable sized type not at end warning.
The new 6.0 kernel headers changed all variable length
structures from [0] to []. This causes a clang warning to
trigger, so silence the warning using -Wno option.
Test: Builds.
Change-Id: I4eb89e4acfb1826447914e0a5ce8c4960263b8ac
-rw-r--r-- | tc/Android.bp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tc/Android.bp b/tc/Android.bp index 3649cebb..088958ae 100644 --- a/tc/Android.bp +++ b/tc/Android.bp @@ -115,6 +115,7 @@ cc_binary { cflags: [ "-Wno-missing-field-initializers", "-Wno-unneeded-internal-declaration", + "-Wno-gnu-variable-sized-type-not-at-end", ], // This is a work around for b/18403920 |