Fix kernel makefile finding crtbegin.o and crtend.o when not needed.

This commit is contained in:
Jonas 'Sortie' Termansen 2015-11-22 00:28:59 +01:00
parent ba4fa25341
commit 1acf16dea0
1 changed files with 4 additions and 4 deletions

View File

@ -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 \