Make sure libgcc_s is finished building in _startup_libs before

building libcxxrt with high -j levels.  The workaround in
libc++/Makefile isn't necessary once that race is solved.

Reviewed by:	theravin
This commit is contained in:
Peter Wemm 2012-03-17 22:12:09 +00:00
parent 3abf7a6f33
commit 15d321c5aa
2 changed files with 4 additions and 1 deletions

View File

@ -1243,6 +1243,9 @@ _startup_libs+= lib/libcxxrt
.endif
gnu/lib/libgcc__L: lib/libc__L
.if ${MK_LIBCPLUSPLUS} != "no"
lib/libcxxrt__L: gnu/lib/libgcc__L
.endif
_prebuild_libs= ${_kerberos5_lib_libasn1} ${_kerberos5_lib_libhdb} \
${_kerberos5_lib_libheimntlm} \

View File

@ -39,7 +39,7 @@ WARNS= 0
CXXFLAGS+= -I${HDRDIR} -I${LIBCXXRTDIR} -std=c++0x -nostdlib -DLIBCXXRT
DPADD= ${LIBCXXRT}
LDADD= -L${.OBJDIR}/../libcxxrt/ -lcxxrt
LDADD= -lcxxrt
LDFLAGS+= --verbose
INCSGROUPS= STD EXT