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 \ _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"