1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-10 14:02:43 +00:00

Follow-up r298219: Don't error with 'make all install'.

Reported by:	kib
Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Bryan Drewery 2016-04-21 16:12:55 +00:00
parent a296502fe0
commit 4a70acf1dc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298413

View File

@ -180,7 +180,7 @@ CXXFLAGS+= ${CXXFLAGS.${.IMPSRC:T}}
.if defined(SRCTOP)
# Prevent rebuilding during install to support read-only objdirs.
.if make(install) && empty(.MAKE.MODE:Mmeta)
.if !make(all) && make(install) && empty(.MAKE.MODE:Mmeta)
CFLAGS+= ERROR-tried-to-rebuild-during-make-install
.endif
.endif