diff options
author | Connor O'Brien <connoro@google.com> | 2022-02-14 18:43:23 -0800 |
---|---|---|
committer | Connor O'Brien <connoro@google.com> | 2022-02-14 18:48:00 -0800 |
commit | 41100a6aa07388031e6285b8975bae3e86db86f5 (patch) | |
tree | fc44c73d30254e3e8f5df44856bda3355215b97b /Android.bp | |
parent | 2ef2c92ccb0ebb8d297a41de5201d4db94d8255b (diff) | |
download | libbpf-41100a6aa07388031e6285b8975bae3e86db86f5.tar.gz |
btfloader: allow using btf__get_map_kv_tids()
Upstream libbpf recently marked this function as deprecated to
encourage use of their newer BTF-based map definitions, but (at least
for the time being) Android programs still use the "legacy" map
definitions which necessitate using this function in btfloader. Update
Android.bp accordingly to build despite the deprecation warning.
Bug: 203823368
Test: m btfloader
Signed-off-by: Connor O'Brien <connoro@google.com>
Change-Id: I6fb13cd4e8c09c5be90ad6b5896451f784e81013
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -128,4 +128,7 @@ cc_binary { "libelf", "libz" ], + cflags: [ + "-Wno-deprecated-declarations", + ] } |