summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-10-30 06:07:41 +0000
committerngie <ngie@FreeBSD.org>2015-10-30 06:07:41 +0000
commitee7c1670a84eacc753378948392e62b87c5d178f (patch)
treec4d3e0897c220c7d77caf72da63616cf2aca82ff /share/mk
parent8255b6ebd53a1fb9c8a4010c1eacd02db00a314b (diff)
downloadFreeBSD-src-ee7c1670a84eacc753378948392e62b87c5d178f.zip
FreeBSD-src-ee7c1670a84eacc753378948392e62b87c5d178f.tar.gz
Unbreak bsd.progs.mk with PROGS (but not PROGS_CXX) and when invoking the
"one of many" targets, e.g. `make hello_world`, where hello_world is a C program Tested with: PROGS and PROGS_CXX MFC after: 1 week X-MFC with: r289289 Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.progs.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.progs.mk b/share/mk/bsd.progs.mk
index dce05c7..c84e94b 100644
--- a/share/mk/bsd.progs.mk
+++ b/share/mk/bsd.progs.mk
@@ -31,7 +31,7 @@ UPDATE_DEPENDFILE_PROG = ${PROGS:[1]}
# They may have asked us to build just one
.for t in ${PROGS}
.if make($t)
-.if ${PROGS_CXX:M${t}}
+.if ${PROGS_CXX:U:M${t}}
PROG_CXX ?= $t
.endif
PROG ?= $t
OpenPOWER on IntegriCloud