mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
runtime: link ksupport with libm, not runtime.
We need libm for the %g format specifier.
This commit is contained in:
parent
d3dcb4b8a2
commit
999290fe52
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user