From f9d7581cec01472e64503d10181a675b7b3a1227 Mon Sep 17 00:00:00 2001 From: Xnoe Date: Wed, 13 Oct 2021 12:01:57 +0100 Subject: [PATCH] Set C standard to gnu11 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9e1c8dc..c2afc3e 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -CFLAGS = -m32 -mgeneral-regs-only -nostdlib -fno-builtin -fno-exceptions -fno-leading-underscore -fno-pie -fno-stack-protector -Wno-pointer-to-int-cast +CFLAGS = -std=gnu11 -m32 -mgeneral-regs-only -nostdlib -fno-builtin -fno-exceptions -fno-leading-underscore -fno-pie -fno-stack-protector -Wno-pointer-to-int-cast LDFLAGS = DISK_IMG_FILES = build/kernel/kernel.bin