aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am4
1 files changed, 4 insertions, 0 deletions
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 \