Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 2016 17:20:35 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r295994 - head/share/mk
Message-ID:  <201602241720.u1OHKZKb090106@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Wed Feb 24 17:20:34 2016
New Revision: 295994
URL: https://svnweb.freebsd.org/changeset/base/295994

Log:
  PROGS: Remove the 'build one' optimization since it breaks 'build multiple'
  
  Given PROG1 PROG2, 'make PROG1' would work but 'make PROG1 PROG2' would not.
  Just build them as normal in a sub-make to avoid any issues.
  
  MFC after:	2 weeks
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/share/mk/bsd.progs.mk

Modified: head/share/mk/bsd.progs.mk
==============================================================================
--- head/share/mk/bsd.progs.mk	Wed Feb 24 17:20:31 2016	(r295993)
+++ head/share/mk/bsd.progs.mk	Wed Feb 24 17:20:34 2016	(r295994)
@@ -27,18 +27,6 @@ UPDATE_DEPENDFILE_PROG = ${PROGS:[1]}
 .export UPDATE_DEPENDFILE_PROG
 .endif
 
-.ifndef PROG
-# They may have asked us to build just one
-.for t in ${PROGS}
-.if make($t)
-.if ${PROGS_CXX:U:M${t}}
-PROG_CXX ?= $t
-.endif
-PROG ?= $t
-.endif
-.endfor
-.endif
-
 .if defined(PROG)
 # just one of many
 PROG_OVERRIDE_VARS +=	BINDIR BINGRP BINOWN BINMODE DPSRCS MAN NO_WERROR \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602241720.u1OHKZKb090106>