add math library when linking

This commit is contained in:
King Kévin 2016-03-28 16:37:34 +02:00
parent 111c0a5455
commit 3ea5f327b8
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ endif
# used libraries
LIBNAME = opencm3_stm32f1
LDLIBS += -l$(LIBNAME)
LDLIBS += -lm -l$(LIBNAME)
LDLIBS += -Wl,--start-group -lc -lgcc -lnosys -Wl,--end-group
# device specific flags