In that case you have multiple choices:

- Add LIBS=-lm to **configure_args**
- Use **LDFLAGS="-lm"** in the template.