From: Bernhard Reutner-Fischer Date: Thu, 5 Apr 2012 07:00:30 +0000 (+0200) Subject: PR bootstrap/52840: libstdc++: let debug find sources for compatibility.lo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c07e30ca3d4016324714a555b964c6628ba200a4;p=gcc.git PR bootstrap/52840: libstdc++: let debug find sources for compatibility.lo 2012-04-05 Bernhard Reutner-Fischer PR bootstrap/52840 * src/Makefile.am (build-debug): Do not adjust vpath dir, remove Makefile.tmp * src/Makefile.in: Adjust as per above. From-SVN: r186156 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d7d3b4caf23..5323e2e491a 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2012-04-05 Bernhard Reutner-Fischer + + PR bootstrap/52840 + * src/Makefile.am (build-debug): Do not adjust vpath dir, remove + Makefile.tmp + * src/Makefile.in: Adjust as per above. + 2012-04-04 Uros Bizjak Partially revert: diff --git a/libstdc++-v3/src/Makefile.am b/libstdc++-v3/src/Makefile.am index 28430cf36f0..52cf0d5a326 100644 --- a/libstdc++-v3/src/Makefile.am +++ b/libstdc++-v3/src/Makefile.am @@ -293,8 +293,9 @@ build-debug: stamp-debug mv Makefile Makefile.tmp; \ sed -e 's,all-local: all-once,all-local:,' \ -e 's,install-data-local: install-data-once,install-data-local:,' \ - -e 's,src/c,src/debug/c,' \ + -e '/vpath/!s,src/c,src/debug/c,' \ < Makefile.tmp > Makefile ; \ + rm -f Makefile.tmp ; \ $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' \ toolexeclibdir=$(glibcxx_toolexeclibdir)/debug all) ; diff --git a/libstdc++-v3/src/Makefile.in b/libstdc++-v3/src/Makefile.in index 3c1facf7f43..d211ba9bc33 100644 --- a/libstdc++-v3/src/Makefile.in +++ b/libstdc++-v3/src/Makefile.in @@ -914,8 +914,9 @@ build-debug: stamp-debug mv Makefile Makefile.tmp; \ sed -e 's,all-local: all-once,all-local:,' \ -e 's,install-data-local: install-data-once,install-data-local:,' \ - -e 's,src/c,src/debug/c,' \ + -e '/vpath/!s,src/c,src/debug/c,' \ < Makefile.tmp > Makefile ; \ + rm -f Makefile.tmp ; \ $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' \ toolexeclibdir=$(glibcxx_toolexeclibdir)/debug all) ;