summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-05-26 22:27:14 +0000
committerian <ian@FreeBSD.org>2014-05-26 22:27:14 +0000
commit5f95900ee1af25b2f5313c465d77e2420e9562b6 (patch)
tree760ac8914d7aa58b068e66991709f33f7b767f73 /Makefile.inc1
parenteac18def4ee56141f988d274b7577fe6776071cb (diff)
downloadFreeBSD-src-5f95900ee1af25b2f5313c465d77e2420e9562b6.zip
FreeBSD-src-5f95900ee1af25b2f5313c465d77e2420e9562b6.tar.gz
MFC 263949, 265063: Add library dependencies for a couple bootstrap libs
to fix build failures for high -jN values when building with gcc.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc14
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 7a5e7e3..9dc1b70 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1500,6 +1500,10 @@ _prebuild_libs= ${_kerberos5_lib_libasn1} \
lib/libutil ${_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++
+gnu/lib/libstdc++__L: lib/msun__L
+.endif
.if defined(WITH_ATF) || ${MK_TESTS} != "no"
.if !defined(WITH_ATF)
OpenPOWER on IntegriCloud