From 1acf16dea0a09e369a51248923866a88ade479bd Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sun, 22 Nov 2015 00:28:59 +0100 Subject: [PATCH] Fix kernel makefile finding crtbegin.o and crtend.o when not needed. --- kernel/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/Makefile b/kernel/Makefile index 789d3b89..973f940b 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -66,10 +66,10 @@ endif # Object files that constitute the kernel. -CRTI_OBJ:=$(CPUDIR)/crti.o -CRTBEGIN_OBJ:=$(shell $(CXX) $(CXXFLAGS) -print-file-name=crtbegin.o) -CRTEND_OBJ:=$(shell $(CXX) $(CXXFLAGS) -print-file-name=crtend.o) -CRTN_OBJ:=$(CPUDIR)/crtn.o +CRTI_OBJ=$(CPUDIR)/crti.o +CRTBEGIN_OBJ=$(shell $(CXX) $(CXXFLAGS) -print-file-name=crtbegin.o) +CRTEND_OBJ=$(shell $(CXX) $(CXXFLAGS) -print-file-name=crtend.o) +CRTN_OBJ=$(CPUDIR)/crtn.o LIBS=\ -nostdlib \