X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FMakefile.tpl;h=b0189bb77d699b1f56dd7a44aaa86ea0800d7eca;hb=9a368aa87e119ec5475af456e8dc88d810b93f99;hp=6c6611e000f4c80719bd008ecc5078f14a6a8324;hpb=6ec8e1dc83432e944c8527b4d798db186bc0fb3b;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Makefile.tpl b/KernelLand/Modules/Makefile.tpl index 6c6611e0..b0189bb7 100644 --- a/KernelLand/Modules/Makefile.tpl +++ b/KernelLand/Modules/Makefile.tpl @@ -11,9 +11,10 @@ LIBINCLUDES := $(addsuffix /include,$(LIBINCLUDES)) CPPFLAGS := -I$(ACESSDIR)/KernelLand/Kernel/include -I$(ACESSDIR)/KernelLand/Kernel/arch/$(ARCHDIR)/include CPPFLAGS += -I$(ACESSDIR)/KernelLand/Modules +CPPFLAGS += -I$(ACESSDIR)/Usermode/Libraries/ld-acess.so_src/include_exp/ 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