btrfs-progs: build: use -std=gnu11

The kernel switched to this recently, switch btrfs-progs to this as well
to avoid issues with syncing the kernel code.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Josef Bacik 2022-11-23 17:37:12 -05:00 committed by David Sterba
parent a8531bfa39
commit 0d5767e664

View file

@ -400,7 +400,7 @@ ifdef C
grep -v __SIZE_TYPE__ > $(check_defs))
check = $(CHECKER)
check_echo = echo
CSTD = -std=gnu89
CSTD = -std=gnu11
else
check = true
check_echo = true