Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Mar 2014 22:24:37 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r263949 - head
Message-ID:  <201403302224.s2UMObJV013704@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Sun Mar 30 22:24:37 2014
New Revision: 263949
URL: http://svnweb.freebsd.org/changeset/base/263949

Log:
  When building g++, we need to build libsupc earlier to avoid a race
  with libproc. Not sure why people didn't see this before now, but I
  get it often for higher (20-30) -j builds, but never for -j1 builds.

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Sun Mar 30 21:56:13 2014	(r263948)
+++ head/Makefile.inc1	Sun Mar 30 22:24:37 2014	(r263949)
@@ -1502,6 +1502,9 @@ _prebuild_libs=	${_kerberos5_lib_libasn1
 		lib/libutil lib/libpjdlog ${_lib_libypclnt} lib/libz lib/msun \
 		${_secure_lib_libcrypto} ${_lib_libldns} \
 		${_secure_lib_libssh} ${_secure_lib_libssl}
+.if ${MK_GNUCXX} != no
+_prebuild_libs+= gnu/lib/libstdc++ gnu/lib/libsupc++
+.endif
 
 .if defined(WITH_ATF) || ${MK_TESTS} != "no"
 .if !defined(WITH_ATF)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403302224.s2UMObJV013704>