1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

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

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 \