]> git.sesse.net Git - bcachefs-tools-debian/commit
bcachefs-tools: Disable -Wgnu-variable-sized-type-not-at-end for clang
authorChris Webb <chris@arachsys.com>
Sat, 9 Dec 2023 14:31:40 +0000 (14:31 +0000)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 10 Dec 2023 04:29:04 +0000 (23:29 -0500)
commitcc98a16776669fee837daa37e127848915386058
treeb27a0e80e5daaf9a70d80bf53ef5a71f164167cf
parent0d401928b876d75ea6f85a4e305f945d946adde4
bcachefs-tools: Disable -Wgnu-variable-sized-type-not-at-end for clang

clang's default warnings include -Wgnu-variable-sized-type-not-at-end,
producing a lot of false alarms about the GNU extension for libbcachefs.
Disable these using cc-disable-warning when building with clang.

Signed-off-by: Chris Webb <chris@arachsys.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Makefile