meson: Use -fstrict-flex-arrays=3
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 3 Aug 2024 18:10:54 +0000 (20:10 +0200)
committerLuca Boccassi <bluca@debian.org>
Thu, 15 Aug 2024 13:04:41 +0000 (14:04 +0100)
Let's explicitly pass the value to -fstrict-flex-arrays. This does
not change behavior but it does (selfishly) make my error not bug
out with an error saying -fstrict-flex-arrays does not exist.

(cherry picked from commit ad723ca3e5bd41d2d884760375534910bb55d9b3)

meson.build

index 0548e2e31d56c0ccca6d015e4e0e5835c7030115..48e6c6ff214058c350ac7689c168a2bd8b482794 100644 (file)
@@ -411,7 +411,7 @@ possible_common_cc_flags = [
         '-fno-common',
         '-fstack-protector',
         '-fstack-protector-strong',
-        '-fstrict-flex-arrays',
+        '-fstrict-flex-arrays=3',
         '--param=ssp-buffer-size=4',
 ]