--- a/suncc-debug.mk Wed Feb 27 14:12:28 2013 +0100
+++ b/suncc-debug.mk Wed Feb 27 14:52:52 2013 +0100
@@ -26,14 +26,14 @@
# POSSIBILITY OF SUCH DAMAGE.
#
-CC = cc
+CC = CC
LD = cc
AR = ar
RM = rm
CFLAGS = -g -c
COFLAGS = -o
-LDFLAGS =
+LDFLAGS = -lm
LOFLAGS = -o
ARFLAGS = -r
RMFLAGS = -f
--- a/suncc.mk Wed Feb 27 14:12:28 2013 +0100
+++ b/suncc.mk Wed Feb 27 14:52:52 2013 +0100
@@ -33,7 +33,7 @@
CFLAGS = -O -c
COFLAGS = -o
-LDFLAGS =
+LDFLAGS = -lm
LOFLAGS = -o
ARFLAGS = -r
RMFLAGS = -f