summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-04-01 23:31:57 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-04-01 23:31:57 +0000
commitf232f761aa6b29385df4e7f1f9f3e9ad17a85c1e (patch)
tree8150da56bc426643bf66bd37bf8bde50bb237fdb /share/mk
parent10b0c931844022ee7713c7e01cc9687064b1e255 (diff)
downloadFreeBSD-src-f232f761aa6b29385df4e7f1f9f3e9ad17a85c1e.zip
FreeBSD-src-f232f761aa6b29385df4e7f1f9f3e9ad17a85c1e.tar.gz
Follow-up r297282: Make the COPTS warning more useful.
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.prog.mk2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud