X-Git-Url: http://git.buserror.net/cgi-bin/gitweb.cgi?p=polintos%2Fscott%2Fpriv.git;a=blobdiff_plain;f=kernel%2Farch%2Fx86%2FMakefile.final;fp=kernel%2Farch%2Fx86%2FMakefile.final;h=34e87b8da2b4b05e40e2da025c0119630df299bb;hp=2a4988d3a617f78c47c4d2177802fe85dc69dbb1;hb=4b46e0122596ab988ca1c2045464ad7c2af0358b;hpb=bcba00f20216db4b6f42fdf2a06e0590df336023 diff --git a/kernel/arch/x86/Makefile.final b/kernel/arch/x86/Makefile.final index 2a4988d..34e87b8 100644 --- a/kernel/arch/x86/Makefile.final +++ b/kernel/arch/x86/Makefile.final @@ -1,10 +1,10 @@ DIR := arch/x86/ CXXFLAGS += -fno-omit-frame-pointer -march=i686 -$(BUILDDIR)/kernel: $(OBJS) $(DIR)linker-script +$(BUILDDIR)/kernel: $(OBJS) $(LIBS) $(DIR)linker-script @echo $(COMP): Linking kernel: $@ @$(MKDIR) $(dir $@) - @$(CXX) $(OBJS) -lgcc -lsupc++ -nostdlib -o "$@" -Wl,-T$(DIR)linker-script + @$(CXX) $(OBJS) $(LIBS) -lgcc -lsupc++ -nostdlib -o "$@" -Wl,-T$(DIR)linker-script # GRUB refuses to use the addresses in the multiboot header if it # finds a valid ELF header, so the dd hacks a zero into the high byte