summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0f5b4d39..653ab995 100644
--- a/Makefile
+++ b/Makefile
@@ -218,10 +218,10 @@ config.make config.h:
#
conftest: conftest.c
- $(CC) $(CFLAGS) -o $@ $^
+ $(CC) $(CFLAGS) -o $@ $^ -lm
conftest2: conftest1.c conftest2.c
- $(CC) $(CFLAGS) -o $@ $^
+ $(CC) $(CFLAGS) -o $@ $^ -lm
conftest.syms: conftest.o
$(NM) -n -t o -P $^ > $@