aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/src/Makefile.am
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <aldot@gcc.gnu.org>2012-04-05 09:00:30 +0200
committerBernhard Reutner-Fischer <aldot@gcc.gnu.org>2012-04-05 09:00:30 +0200
commitc07e30ca3d4016324714a555b964c6628ba200a4 (patch)
treeb547bcd8d7ec3ac8635e36435c6db7cf4fc6f5df /libstdc++-v3/src/Makefile.am
parent913398edd49a3034a483e3a38de37c432579f2a0 (diff)
downloadgcc-c07e30ca3d4016324714a555b964c6628ba200a4.zip
gcc-c07e30ca3d4016324714a555b964c6628ba200a4.tar.gz
gcc-c07e30ca3d4016324714a555b964c6628ba200a4.tar.bz2
PR bootstrap/52840: libstdc++: let debug find sources for compatibility.lo
2012-04-05 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> 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
Diffstat (limited to 'libstdc++-v3/src/Makefile.am')
-rw-r--r--libstdc++-v3/src/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/libstdc++-v3/src/Makefile.am b/libstdc++-v3/src/Makefile.am
index 28430cf..52cf0d5 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) ;