From 91ffaa180c9fedbda554ad6af11ab9fa3c25995e Mon Sep 17 00:00:00 2001 From: dd Date: Wed, 5 Sep 2001 20:10:59 +0000 Subject: Use CFLAGS, not COPTS, in the Makefile. bsd.prog.mk conveniently adds COPTS towards the end of final CFLAGS so that it can be used to override Makefile and other defaults. Using it in Makefiles risks having options set using it clobbered when somebody uses it on the command line. Approved by: bde --- usr.sbin/inetd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/inetd/Makefile b/usr.sbin/inetd/Makefile index 2e1d831..cf82f76 100644 --- a/usr.sbin/inetd/Makefile +++ b/usr.sbin/inetd/Makefile @@ -9,8 +9,8 @@ MLINKS= inetd.8 inetd.conf.5 SRCS= inetd.c builtins.c #WARNS?= 2 -COPTS+= -DLOGIN_CAP -#COPTS+= -DSANITY_CHECK +CFLAGS+= -DLOGIN_CAP +#CFLAGS+= -DSANITY_CHECK DPADD= ${LIBUTIL} ${LIBWRAP} LDADD= -lutil -lwrap -- cgit v1.1