Fix ordering of libraries

Since libcompiler_rt provides functions for other
libraries (e.g., __muldiv3), it must be listed
at the end.
This commit is contained in:
Mateusz Holenko 2020-06-25 12:21:36 +02:00
parent 52b51e1e98
commit d72380c871
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ bios.elf: $(BIOS_DIRECTORY)/linker.ld $(OBJECTS)
-L../liblitespi \ -L../liblitespi \
-L../liblitesdcard \ -L../liblitesdcard \
$(BP_LIBS) \ $(BP_LIBS) \
-lcompiler_rt -llitedram -lliteeth -llitespi -llitesdcard -lbase-nofloat \ -llitedram -lliteeth -llitespi -llitesdcard -lbase-nofloat -lcompiler_rt \
$(BP_FLAGS) $(BP_FLAGS)
ifneq ($(OS),Windows_NT) ifneq ($(OS),Windows_NT)