Permalink
Browse files

libstdc++47: Fix c++config.h race

With high job numbers, sometimes c++config.h would get included before
it finished getting generated.  Solve this race by using "depend all"
which should ensure c++config.h gets generated before anything else
in libstdc++ starts to build.
  • Loading branch information...
1 parent f014046 commit 72036313cff675e6634202d26198dde932caabbf @jrmarino jrmarino committed Oct 1, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 gnu/lib/gcc47/libstdc++/Makefile
View
2 gnu/lib/gcc47/libstdc++/Makefile
@@ -278,4 +278,6 @@ CLEANFILES+= atomicity.cc basic_file.cc c++locale.cc \
ctype_configure_char.cc unwind.h \
cp-demangle.c debug-cxx.cc tree-cxx.cc
+depend all: bits/c++config.h
+
.include <bsd.lib.mk>

0 comments on commit 7203631

Please sign in to comment.