diff -urN ccache-3.0.1/Makefile.in ccache-3.0.1-haiku/Makefile.in
--- ccache-3.0.1/Makefile.in	2010-07-15 15:52:30.051118080 +0000
+++ ccache-3.0.1-haiku/Makefile.in	2010-08-26 04:36:22.722468864 +0000
@@ -14,7 +14,7 @@
 LDFLAGS = @LDFLAGS@
 EXEEXT = @EXEEXT@
 
-libs = @LIBS@ -lm
+libs = @LIBS@
 
 sources = \
     ccache.c mdfour.c hash.c execute.c util.c args.c stats.c version.c \
