Skip to content

Commit

Permalink
meson: Use -fstrict-flex-arrays=3
Browse files Browse the repository at this point in the history
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)
(cherry picked from commit 2925fc2c6f4b13a2f098912fa3d44ad31e9f2cf0)
  • Loading branch information
DaanDeMeyer authored and bluca committed Aug 16, 2024
1 parent 510aa8b commit 828c900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ possible_common_cc_flags = [
'-fno-common',
'-fstack-protector',
'-fstack-protector-strong',
'-fstrict-flex-arrays',
'-fstrict-flex-arrays=3',
'--param=ssp-buffer-size=4',
]

Expand Down

0 comments on commit 828c900

Please sign in to comment.