Modules - Added -ffreestanding to module build (allows stdint.h)
authorJohn Hodge <[email protected]>
Fri, 3 Aug 2012 05:39:10 +0000 (13:39 +0800)
committerJohn Hodge <[email protected]>
Fri, 3 Aug 2012 05:39:10 +0000 (13:39 +0800)
KernelLand/Modules/Makefile.tpl

index 6c6611e..19fd77e 100644 (file)
@@ -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
 

UCC git Repository :: git.ucc.asn.au