From 09822457a382877be54d2c10c4ba8601d1b298a5 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 2 Oct 2017 11:23:03 +0800 Subject: [PATCH] runtime: link libm in ksupport --- artiq/runtime/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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