From f232f761aa6b29385df4e7f1f9f3e9ad17a85c1e Mon Sep 17 00:00:00 2001 From: bdrewery Date: Fri, 1 Apr 2016 23:31:57 +0000 Subject: Follow-up r297282: Make the COPTS warning more useful. Sponsored by: EMC / Isilon Storage Division --- share/mk/bsd.prog.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/mk') diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index fb0efdd..2c74cec 100644 --- a/share/mk/bsd.prog.mk +++ b/share/mk/bsd.prog.mk @@ -8,7 +8,7 @@ # XXX The use of COPTS in modern makefiles is discouraged. .if defined(COPTS) -.warning COPTS should be CFLAGS. +.warning ${.CURDIR}: COPTS should be CFLAGS. CFLAGS+=${COPTS} .endif -- cgit v1.1