Commit 19cef902 authored by Matthias Braun's avatar Matthias Braun
Browse files

fix make test

parent 5ba59bd3
......@@ -198,7 +198,7 @@ UNITTESTS = $(UNITTESTS_SOURCES:%.c=$(builddir)/%.exe)
$(builddir)/%.exe: $(srcdir)/unittests/%.c $(libfirm_a)
@echo TEST $<
$(Q)$(LINK) $(CFLAGS) $(CPPFLAGS) $(libfirm_CPPFLAGS) $(libfirm_a) "$<" -o "$@"
$(Q)$(LINK) $(CFLAGS) $(CPPFLAGS) $(libfirm_CPPFLAGS) "$<" $(libfirm_a) -lm -o "$@"
$(Q)$@
.PHONY: test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment