diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2016-04-01 23:31:57 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2016-04-01 23:31:57 +0000 |
commit | f232f761aa6b29385df4e7f1f9f3e9ad17a85c1e (patch) | |
tree | 8150da56bc426643bf66bd37bf8bde50bb237fdb /share/mk | |
parent | 10b0c931844022ee7713c7e01cc9687064b1e255 (diff) | |
download | FreeBSD-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.mk | 2 |
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 |