summaryrefslogtreecommitdiff
path: root/src/android/meson.build
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2020-10-15 23:34:39 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2020-10-21 17:18:48 +0100
commita3ed067996150412c28fb211dad38525e79a6e35 (patch)
treecf10035c937d60b8e2145b53a4b705e9a8add0bb /src/android/meson.build
parente1f9fdb8a5bd096faa34d54804afa48d46d59b28 (diff)
android: metadata: Disable -Wshadow
Do not warn on shadowed variables inside the metadata library, which is directly imported without modifications. Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/android/meson.build')
-rw-r--r--src/android/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/android/meson.build b/src/android/meson.build
index 5a01bea3..f72376a0 100644
--- a/src/android/meson.build
+++ b/src/android/meson.build
@@ -33,4 +33,5 @@ android_camera_metadata_sources = files([
android_camera_metadata = static_library('camera_metadata',
android_camera_metadata_sources,
+ c_args : '-Wno-shadow',
include_directories : android_includes)