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
---
sbin/ping/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'sbin/ping/Makefile')
diff --git a/sbin/ping/Makefile b/sbin/ping/Makefile
index 1cb5d07..45ca449 100644
--- a/sbin/ping/Makefile
+++ b/sbin/ping/Makefile
@@ -4,9 +4,9 @@
PROG= ping
MAN= ping.8
BINMODE=4555
-COPTS+= -Wall -Wmissing-prototypes
+CFLAGS+=-Wall -Wmissing-prototypes
.if ${MACHINE_ARCH} == "alpha"
-COPTS+= -fno-builtin # GCC's builtin memcpy doesn't do unaligned copies
+CFLAGS+=-fno-builtin # GCC's builtin memcpy doesn't do unaligned copies
.endif
DPADD= ${LIBM}
LDADD= -lm
--
cgit v1.1