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-(
This commit is contained in:
John Birrell 1998-08-06 23:01:49 +00:00
parent 448bbb5805
commit 170812ea7a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38150

View File

@ -1,7 +1,7 @@
# @(#)Makefile 8.4 (Berkeley) 6/10/97 # @(#)Makefile 8.4 (Berkeley) 6/10/97
PROG= makemap PROG= makemap
SRCS= makemap.c safefile.c #snprintf.c SRCS= makemap.c safefile.c snprintf.c
MAN8= makemap.8 MAN8= makemap.8
CFLAGS+=-I${.CURDIR}/../../contrib/sendmail/src -DNEWDB -DNOT_SENDMAIL CFLAGS+=-I${.CURDIR}/../../contrib/sendmail/src -DNEWDB -DNOT_SENDMAIL