diff --git a/artiq/runtime/Makefile b/artiq/runtime/Makefile index d38b64ccf..0b92af3e9 100644 --- a/artiq/runtime/Makefile +++ b/artiq/runtime/Makefile @@ -49,10 +49,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-nofloat -lm -lcompiler-rt -ldyld -lunwind @chmod -x $@ ksupport_data.o: ksupport.elf