From: John Hodge Date: Fri, 3 Aug 2012 05:39:10 +0000 (+0800) Subject: Modules - Added -ffreestanding to module build (allows stdint.h) X-Git-Tag: rel0.15~706^2~75 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=5723f594da1798291ba98a13e31703419134fa39;p=tpg%2Facess2.git Modules - Added -ffreestanding to module build (allows stdint.h) --- 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