From d7dca087ba8a9377b7b42d2b23e4cd0bc950b4c1 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Tue, 9 Mar 2021 12:59:45 -0600 Subject: Makefile: fix wrong -I directive to compiler Fix a bug in which the architecture specific include directories are not properly included in the main Makefile. Signed-off-by: Danny Holman --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fdf693c..b1847bc 100644 --- a/Makefile +++ b/Makefile @@ -13,8 +13,7 @@ ARCHDIR=arch/i386 include $(ARCHDIR)/make.config -INCLUDE:=$(INCLUDE) $(KERNEL_ARCH_INCLUDE) -CFLAGS:=$(CFLAGS) $(KERNEL_ARCH_CFLAGS) -I$(INCLUDE) +CFLAGS:=$(CFLAGS) $(KERNEL_ARCH_CFLAGS) LDFLAGS:=$(LDFLAGS) $(KERNEL_ARCH_LDFLAGS) LIBS:=$(LIBS) $(KERNEL_ARCH_LIBS) -- cgit v1.2.3