]> git.pld-linux.org Git - packages/libfprint.git/blame - 0001-nbis-Disable-array-parameter-and-array-bounds-warnin.patch
- unconditional noarch subpackages
[packages/libfprint.git] / 0001-nbis-Disable-array-parameter-and-array-bounds-warnin.patch
CommitLineData
cbb48e0e
JR
1From 2d10d864d8bc4b952cf412f6e18e44412dba759a Mon Sep 17 00:00:00 2001
2From: Benjamin Berg <bberg@redhat.com>
3Date: Wed, 9 Dec 2020 15:46:23 +0100
4Subject: [PATCH] nbis: Disable array-parameter and array-bounds warnings
5
6NBIS just does weird things and while the array-parameter warning is
7easy to fix, the other is not trivial. So disable these warnings so that
8we can still build using newer GCC versions.
9---
10 libfprint/meson.build | 2 ++
11 1 file changed, 2 insertions(+)
12
13diff --git a/libfprint/meson.build b/libfprint/meson.build
14index 96cfe9b..4d1d30c 100644
15--- a/libfprint/meson.build
16+++ b/libfprint/meson.build
17@@ -234,6 +234,8 @@ libnbis = static_library('nbis',
18 '-Wno-error=redundant-decls',
19 '-Wno-redundant-decls',
20 '-Wno-discarded-qualifiers',
21+ '-Wno-array-bounds',
22+ '-Wno-array-parameter',
23 ]),
24 install: false)
25
26--
272.26.2
28
This page took 0.052421 seconds and 4 git commands to generate.