]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
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)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 4 Aug 2024 00:55:45 +0000 (09:55 +0900)
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.

meson.build

index 45030d29b0e8d08ef834dc9ddc6de0d18f0ba751..c0eb6ca437ef7ea63ec3842d91110f8ad7ca9617 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',
 ]