From 0d5767e66495b31db6e00de3de98cbd025b31726 Mon Sep 17 00:00:00 2001 From: Josef Bacik Date: Wed, 23 Nov 2022 17:37:12 -0500 Subject: [PATCH] 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 Signed-off-by: David Sterba --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8cf6bf6a..3e96f0e0 100644 --- a/Makefile +++ b/Makefile @@ -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