forked from M-Labs/artiq
runtime: link libm and libbase-nofloat where appropriate.
This commit is contained in:
parent
00b688cab0
commit
1b9713115c
|
@ -34,9 +34,10 @@ runtime.elf: $(OBJECTS)
|
||||||
$(OBJECTS) \
|
$(OBJECTS) \
|
||||||
-L../libcompiler_rt \
|
-L../libcompiler_rt \
|
||||||
-L../libbase \
|
-L../libbase \
|
||||||
|
-L../libm \
|
||||||
-L../liballoc \
|
-L../liballoc \
|
||||||
-L../liblwip \
|
-L../liblwip \
|
||||||
-lbase -lcompiler_rt -lalloc -llwip
|
-lbase -lm -lcompiler_rt -lalloc -llwip
|
||||||
@chmod -x $@
|
@chmod -x $@
|
||||||
|
|
||||||
ksupport.elf: $(OBJECTS_KSUPPORT)
|
ksupport.elf: $(OBJECTS_KSUPPORT)
|
||||||
|
@ -50,7 +51,7 @@ ksupport.elf: $(OBJECTS_KSUPPORT)
|
||||||
-L../libcompiler_rt \
|
-L../libcompiler_rt \
|
||||||
-L../libunwind \
|
-L../libunwind \
|
||||||
-L../libdyld \
|
-L../libdyld \
|
||||||
-lbase -lcompiler_rt -ldyld -lunwind
|
-lbase-nofloat -lcompiler_rt -ldyld -lunwind
|
||||||
@chmod -x $@
|
@chmod -x $@
|
||||||
|
|
||||||
ksupport_data.o: ksupport.elf
|
ksupport_data.o: ksupport.elf
|
||||||
|
|
Loading…
Reference in New Issue