summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-09-05 20:10:59 +0000
committerdd <dd@FreeBSD.org>2001-09-05 20:10:59 +0000
commit91ffaa180c9fedbda554ad6af11ab9fa3c25995e (patch)
treedaeeec3a70e25abbb362be816bcbe28a07febf84 /usr.sbin
parent860ee32ac40bb6e9ceb0f6e2000eccd8e9ed3755 (diff)
downloadFreeBSD-src-91ffaa180c9fedbda554ad6af11ab9fa3c25995e.zip
FreeBSD-src-91ffaa180c9fedbda554ad6af11ab9fa3c25995e.tar.gz
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
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/inetd/Makefile4
1 files changed, 2 insertions, 2 deletions
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
OpenPOWER on IntegriCloud