Build compat libraries before "everything".

This is required for us to link programs against compat versions of
libraries.

Reviewed by:	bdrewery, jhb
Sponsored by:	DARPA, AFRL
This commit is contained in:
Brooks Davis 2019-10-15 21:22:13 +00:00
parent bc4b1a1729
commit 5dab131339
2 changed files with 3 additions and 3 deletions

View File

@ -1150,7 +1150,7 @@ _libraries:
everything: .PHONY
@echo
@echo "--------------------------------------------------------------"
@echo ">>> stage 4.3: building everything"
@echo ">>> stage 4.4: building everything"
@echo "--------------------------------------------------------------"
${_+_}cd ${.CURDIR}; _PARALLEL_SUBDIR_OK=1 ${WMAKE} all
@ -1171,10 +1171,10 @@ WMAKE_TGTS+= _includes
.if !defined(NO_LIBS)
WMAKE_TGTS+= _libraries
.endif
WMAKE_TGTS+= everything
.if defined(_LIBCOMPAT) && empty(SUBDIR_OVERRIDE)
WMAKE_TGTS+= build${libcompat}
.endif
WMAKE_TGTS+= everything
# record buildworld time in seconds
.if make(buildworld)

View File

@ -61,7 +61,7 @@ _jevents= lib/libpmc/pmu-events
build${libcompat}: .PHONY
@echo
@echo "--------------------------------------------------------------"
@echo ">>> stage 5.1: building lib${libcompat} shim libraries"
@echo ">>> stage 4.3: building lib${libcompat} shim libraries"
@echo "--------------------------------------------------------------"
.if !defined(NO_CLEAN)
rm -rf ${LIBCOMPATTMP}