From: Martin Schmoelzer Date: Thu, 4 Aug 2011 20:30:25 +0000 (+0200) Subject: ULINK driver: Add '-lm' linker flag when building this driver (required for correct... X-Git-Tag: v0.6.0-rc1~586 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1d135dddf27f6f8dd2ceee2e3b07a0b91e098459;p=openocd ULINK driver: Add '-lm' linker flag when building this driver (required for correct calculation of JTAG TCK speed setting) Signed-off-by: Martin Schmölzer --- diff --git a/src/Makefile.am b/src/Makefile.am index 1be24ea2..8375683d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -30,6 +30,10 @@ else openocd_LDADD += -ljim endif +if ULINK +openocd_LDADD += -lm +endif + libopenocd_la_SOURCES = \ hello.c \ openocd.c \