Patchwork PR libstdc++/45711 cleanup.

login
register
mail settings
Submitter Ralf Wildenhues
Date Nov. 13, 2010, 10:36 a.m.
Message ID <20101113103601.GA24069@gmx.de>
Download mbox | patch
Permalink /patch/71043/
State New
Headers show

Comments

Ralf Wildenhues - Nov. 13, 2010, 10:36 a.m.
Steve suggested that the VPATH line should also be adjusted.  Makes
sense to not let it point to a non-existing directory, even if there
are already 'vpath %...' statements in the makefile that ensure that the
right directories are searched.

Bootstrapped --enable-libstdcxx-debug on x86_64-unknown-linux-gnu,
no regressions.  Any reasons against pushing it?

Thanks,
Ralf

PR libstdc++/45711 cleanup.

libstdc++-v3/ChangeLog:
2010-11-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	PR libstdc++/45711
	* src/Makefile.am (stamp-debug): Also adjust VPATH.
	* src/Makefile.in: Regenerate.
Paolo Carlini - Nov. 13, 2010, 10:41 a.m.
On 11/13/2010 11:36 AM, Ralf Wildenhues wrote:
> Steve suggested that the VPATH line should also be adjusted.  Makes
> sense to not let it point to a non-existing directory, even if there
> are already 'vpath %...' statements in the makefile that ensure that the
> right directories are searched.
>
> Bootstrapped --enable-libstdcxx-debug on x86_64-unknown-linux-gnu,
> no regressions.  Any reasons against pushing it?
>   
Not from me! Thanks for following up to this issue.

Paolo.

Patch

diff --git a/libstdc++-v3/src/Makefile.am b/libstdc++-v3/src/Makefile.am
index d4efaf2..958b774 100644
--- a/libstdc++-v3/src/Makefile.am
+++ b/libstdc++-v3/src/Makefile.am
@@ -423,6 +423,7 @@  stamp-debug:
 	  sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
 	      -e 's/top_build_prefix = \.\./top_build_prefix = ..\/../' \
 	      -e 's/srcdir = \.\./srcdir = ..\/../' \
+	      -e 's/VPATH = \.\./VPATH = ..\/../' \
 	      -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \
 	      -e 's/MKDIR_P = \.\./MKDIR_P = ..\/../' \
 	      -e 's/all-local: build_debug/all-local:/' \