2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

runtime: link ksupport with libm, not runtime.

We need libm for the %g format specifier.
This commit is contained in:
whitequark 2016-10-01 06:50:16 +00:00
parent d3dcb4b8a2
commit 999290fe52

View File

@ -36,11 +36,10 @@ runtime.elf: $(OBJECTS) libruntime.a
$(OBJECTS) \
-L../libcompiler-rt \
-L../libbase \
-L../libm \
-L../liballoc \
-L../liblwip \
-Lcargo/or1k-unknown-none/debug/ \
-lruntime -lbase -lm -lcompiler-rt -lalloc -llwip
-lruntime -lbase-nofloat -lcompiler-rt -lalloc -llwip
@chmod -x $@
ksupport.elf: $(OBJECTS_KSUPPORT)
@ -51,10 +50,11 @@ ksupport.elf: $(OBJECTS_KSUPPORT)
../libbase/crt0-$(CPU).o \
$^ \
-L../libbase \
-L../libm \
-L../libcompiler-rt \
-L../libunwind \
-L../libdyld \
-lbase-nofloat -lcompiler-rt -ldyld -lunwind
-lbase -lm -lcompiler-rt -ldyld -lunwind
@chmod -x $@
ksupport_data.o: ksupport.elf