re PR libstdc++/45711 (Building with "--enable-libstdcxx-debug" fails during install)

Fix PR libstdc++/45711.

libstdc++-v3/:
	PR libstdc++/45711
	* src/Makefile.am (stamp-debug): Also adjust possibly-relative
	file names in MKDIR_P, and, for consistency, also top_build_prefix.
	* src/Makefile.in: Regenerate.

From-SVN: r164451
This commit is contained in:
Ralf Wildenhues 2010-09-20 19:33:12 +00:00 committed by Ralf Wildenhues
parent d163e655d5
commit 8d03ad011a
3 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2010-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
PR libstdc++/45711
* src/Makefile.am (stamp-debug): Also adjust possibly-relative
file names in MKDIR_P, and, for consistency, also top_build_prefix.
* src/Makefile.in: Regenerate.
2010-09-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* include/ext/throw_allocator.h

View File

@ -421,13 +421,16 @@ endif
debugdir = debug
# Build a set of debug objects here.
# Take care to fix all possibly-relative paths.
stamp-debug:
if test ! -d ${debugdir}; then \
mkdir -p ${debugdir}; \
(cd ${debugdir}; \
sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
-e 's/top_build_prefix = \.\./top_build_prefix = ..\/../' \
-e 's/srcdir = \.\./srcdir = ..\/../' \
-e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \
-e 's/MKDIR_P = \.\./MKDIR_P = ..\/../' \
-e 's/all-local: build_debug/all-local:/' \
-e 's/install-data-local: install_debug/install-data-local:/' \
< ../Makefile > Makefile) ; \

View File

@ -946,13 +946,16 @@ future.o: future.cc
@GLIBCXX_BUILD_DEBUG_FALSE@install-data-local:
# Build a set of debug objects here.
# Take care to fix all possibly-relative paths.
stamp-debug:
if test ! -d ${debugdir}; then \
mkdir -p ${debugdir}; \
(cd ${debugdir}; \
sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
-e 's/top_build_prefix = \.\./top_build_prefix = ..\/../' \
-e 's/srcdir = \.\./srcdir = ..\/../' \
-e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \
-e 's/MKDIR_P = \.\./MKDIR_P = ..\/../' \
-e 's/all-local: build_debug/all-local:/' \
-e 's/install-data-local: install_debug/install-data-local:/' \
< ../Makefile > Makefile) ; \