From 170812ea7a660ba9ced7ed92c13a6c28fd41307b Mon Sep 17 00:00:00 2001 From: John Birrell Date: Thu, 6 Aug 1998 23:01:49 +0000 Subject: [PATCH] Add snprintf.c to SRCS so that the function quad_to_string exists. The snprintf function itself is still #ifdef'd out by conf.h. This allows this program to link when compiled without optimization. With optimization, the call to quad_to_string gets removed by the compiler. Unfortunately the linker still links in the quad_to_string function even though it isn't called. 8-( --- usr.sbin/makemap/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/makemap/Makefile b/usr.sbin/makemap/Makefile index b0878221e2b4..735e285c8ccc 100644 --- a/usr.sbin/makemap/Makefile +++ b/usr.sbin/makemap/Makefile @@ -1,7 +1,7 @@ # @(#)Makefile 8.4 (Berkeley) 6/10/97 PROG= makemap -SRCS= makemap.c safefile.c #snprintf.c +SRCS= makemap.c safefile.c snprintf.c MAN8= makemap.8 CFLAGS+=-I${.CURDIR}/../../contrib/sendmail/src -DNEWDB -DNOT_SENDMAIL