From: Mateusz Holenko Date: Thu, 25 Jun 2020 10:21:36 +0000 (+0200) Subject: Fix ordering of libraries X-Git-Tag: 24jan2021_ls180~131^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d72380c871f6a74b39d8a169848af2e45043d21e;p=litex.git Fix ordering of libraries Since libcompiler_rt provides functions for other libraries (e.g., __muldiv3), it must be listed at the end. --- diff --git a/litex/soc/software/bios/Makefile b/litex/soc/software/bios/Makefile index 778757da..35a07f5c 100755 --- a/litex/soc/software/bios/Makefile +++ b/litex/soc/software/bios/Makefile @@ -75,7 +75,7 @@ bios.elf: $(BIOS_DIRECTORY)/linker.ld $(OBJECTS) -L../liblitespi \ -L../liblitesdcard \ $(BP_LIBS) \ - -lcompiler_rt -llitedram -lliteeth -llitespi -llitesdcard -lbase-nofloat \ + -llitedram -lliteeth -llitespi -llitesdcard -lbase-nofloat -lcompiler_rt \ $(BP_FLAGS) ifneq ($(OS),Windows_NT)