diff --git a/Makefile b/Makefile
index f9bab6b97b0dcb109bc2966df44bf929a511c1a9..de97e72089192f03c5c50a8e104238f53a0383f7 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ AS_DEBUG_FLAGS =
 INCLUDE = . ./boards/$(platform)
 
 CC = arm-none-eabi-gcc
-CC_FLAGS = -Wall -O2 -c -Wextra -ffreestanding -Wno-override-init -std=c17
+CC_FLAGS = -Wall -O2 -c -Wextra -ffreestanding -Wno-override-init -std=gnu17
 CC_FLAGS += $(addprefix -I,$(INCLUDE)) -include default.h
 CC_DEBUG_FLAGS = -g -DDEBUG