From f328d583a2124a0cb6b96ed97b40f25b540452df Mon Sep 17 00:00:00 2001
From: Dima Dorfman
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.bin/split/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'usr.bin/split/Makefile')
diff --git a/usr.bin/split/Makefile b/usr.bin/split/Makefile
index ffac658297f4..3b55092f68d8 100644
--- a/usr.bin/split/Makefile
+++ b/usr.bin/split/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
+# $FreeBSD$
PROG= split
-COPTS+= -Wall
+CFLAGS+=-Wall
.include
--
cgit v1.2.3