From 5723f594da1798291ba98a13e31703419134fa39 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Fri, 3 Aug 2012 13:39:10 +0800 Subject: [PATCH] Modules - Added -ffreestanding to module build (allows stdint.h) --- KernelLand/Modules/Makefile.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KernelLand/Modules/Makefile.tpl b/KernelLand/Modules/Makefile.tpl index 6c6611e0..19fd77ea 100644 --- a/KernelLand/Modules/Makefile.tpl +++ b/KernelLand/Modules/Makefile.tpl @@ -13,7 +13,7 @@ CPPFLAGS := -I$(ACESSDIR)/KernelLand/Kernel/include -I$(ACESSDIR)/KernelLand/Ker CPPFLAGS += -I$(ACESSDIR)/KernelLand/Modules CPPFLAGS += -DARCH=$(ARCH) -DARCH_is_$(ARCH) -DARCHDIR_is_$(ARCHDIR) CPPFLAGS += $(_CPPFLAGS) -CPPFLAGS += $(LIBINCLUDES) +CPPFLAGS += $(LIBINCLUDES) -ffreestanding CFLAGS := -std=gnu99 -Wall -fno-stack-protector -g -O3 CFLAGS += -Werror -- 2.20.1