svn commit: r320274 - head
Bryan Drewery
bdrewery at FreeBSD.org
Fri Jun 23 16:38:47 UTC 2017
Author: bdrewery
Date: Fri Jun 23 16:38:46 2017
New Revision: 320274
URL: https://svnweb.freebsd.org/changeset/base/320274
Log:
Set compiler metadata for stageworld/distributeworld.
This fixes LD errors during 'make packages' but also for the unlikely case of
'buildworld' on 1 system and 'packages' on another [1].
PR: 212877 [1]
MFC after: 2 weeks
Sponsored by: Dell EMC Isilon
Modified:
head/Makefile.inc1
Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1 Fri Jun 23 16:38:18 2017 (r320273)
+++ head/Makefile.inc1 Fri Jun 23 16:38:46 2017 (r320274)
@@ -87,7 +87,8 @@ OBJTREE= ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}
# Pull in compiler metadata from buildworld/toolchain if possible to avoid
# running CC from bsd.compiler.mk.
-.if make(installworld) || make(install)
+.if make(installworld) || make(install) || make(distributeworld) || \
+ make(stageworld)
.-include "${OBJTREE}${.CURDIR}/compiler-metadata.mk"
.endif
More information about the svn-src-all
mailing list