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:
parent
ba4fa25341
commit
1acf16dea0
1 changed files with 4 additions and 4 deletions
|
@ -66,10 +66,10 @@ endif
|
||||||
|
|
||||||
# Object files that constitute the kernel.
|
# Object files that constitute the kernel.
|
||||||
|
|
||||||
CRTI_OBJ:=$(CPUDIR)/crti.o
|
CRTI_OBJ=$(CPUDIR)/crti.o
|
||||||
CRTBEGIN_OBJ:=$(shell $(CXX) $(CXXFLAGS) -print-file-name=crtbegin.o)
|
CRTBEGIN_OBJ=$(shell $(CXX) $(CXXFLAGS) -print-file-name=crtbegin.o)
|
||||||
CRTEND_OBJ:=$(shell $(CXX) $(CXXFLAGS) -print-file-name=crtend.o)
|
CRTEND_OBJ=$(shell $(CXX) $(CXXFLAGS) -print-file-name=crtend.o)
|
||||||
CRTN_OBJ:=$(CPUDIR)/crtn.o
|
CRTN_OBJ=$(CPUDIR)/crtn.o
|
||||||
|
|
||||||
LIBS=\
|
LIBS=\
|
||||||
-nostdlib \
|
-nostdlib \
|
||||||
|
|
Loading…
Add table
Reference in a new issue