From ef97b874bf88e70734809fc72bff4c8144a9db47 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Thu, 24 Oct 2019 15:46:50 +0200 Subject: [PATCH] boards/native: Default to C11 instead of C99 --- boards/native/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/native/Makefile.include b/boards/native/Makefile.include index 213c3f6e53..720dd7949b 100644 --- a/boards/native/Makefile.include +++ b/boards/native/Makefile.include @@ -24,7 +24,7 @@ export GPROF ?= gprof CFLAGS += -Wall -Wextra -pedantic # default std set to gnu99 of not overwritten by user ifeq (,$(filter -std=%, $(CFLAGS))) - CFLAGS += -std=gnu99 + CFLAGS += -std=gnu11 endif ifeq ($(OS_ARCH),x86_64)