svn commit: r271740 - stable/8/share/mk
Dimitry Andric
dim at FreeBSD.org
Thu Sep 18 06:40:54 UTC 2014
Author: dim
Date: Thu Sep 18 06:40:53 2014
New Revision: 271740
URL: http://svnweb.freebsd.org/changeset/base/271740
Log:
MFC r257658 (modified to apply to stable/8):
For C++ programs, don't emit any explicit dependency to libstdc++.a or
libc++.a during the early build stages (bootstrap-tools, build-tools,
cross-tools), since it is not possible to know in advance which C++
library is available on the host system.
Instead, just use the bootstrap compiler's built-in default. This
should eventually make it possible to build stable/9 on head, or on
stable/10, which ship without libstdc++ by default.
[Note: this should get the stable/8 tinderbox at least a bit further in
buildworld.]
Modified:
stable/8/share/mk/bsd.prog.mk
Modified: stable/8/share/mk/bsd.prog.mk
==============================================================================
--- stable/8/share/mk/bsd.prog.mk Thu Sep 18 06:34:27 2014 (r271739)
+++ stable/8/share/mk/bsd.prog.mk Thu Sep 18 06:40:53 2014 (r271740)
@@ -134,7 +134,7 @@ _EXTRADEPEND:
.endif
.else
echo ${PROG}: ${LIBC} ${DPADD} >> ${DEPENDFILE}
-.if defined(PROG_CXX)
+.if defined(PROG_CXX) && !defined(BOOTSTRAPPING)
echo ${PROG}: ${LIBSTDCPLUSPLUS} >> ${DEPENDFILE}
.endif
.endif
More information about the svn-src-all
mailing list