--- a/open-src/app/gfx-utils/sun-src/vts/Makefile.common Thu May 09 11:04:14 2013 -0700
+++ b/open-src/app/gfx-utils/sun-src/vts/Makefile.common Fri May 17 12:39:19 2013 -0700
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
@@ -52,7 +52,7 @@
all: libvtsSUNW${Dev}.so.1
libvtsSUNW${Dev}.so.1: $(LIB_OBJS) mapfile
- ${CC} ${CFLAGS} ${LIB_LDFLAGS} -M mapfile -G -lXext -lX11 $(LIB_OBJS) -o $@
+ ${CC} ${CFLAGS} ${LIB_LDFLAGS} -M mapfile -G -lc -lXext -lX11 $(LIB_OBJS) -o $@
gfx_vts.o: ${GFX_COMMON}/vts/gfx_vts.c $(HDRS)
${CC} ${CFLAGS} -c ${INCL} -Kpic -xregs=no%appl ${GFX_COMMON}/vts/gfx_vts.c -o $@