forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 3 additions and 3 deletions

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