xdev builds libsupc++ and libstdc++ in a slightly strange way. This

cause a race to be exposed between the two. Compensate for this race
by serializing the build/install of libstdc++ before libsupc++.
This commit is contained in:
Warner Losh 2014-07-07 23:21:25 +00:00
parent 413a368c90
commit 8bc01eb62f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268377

View File

@ -1497,6 +1497,7 @@ _prebuild_libs= ${_kerberos5_lib_libasn1} \
.if ${MK_GNUCXX} != "no" && ${MK_CXX} != "no"
_prebuild_libs+= gnu/lib/libstdc++ gnu/lib/libsupc++
gnu/lib/libstdc++__L: lib/msun__L
gnu/lib/libsubc++__L: gnu/lib/libstdc++__L
.endif
.if defined(WITH_ATF) || ${MK_TESTS} != "no"