diff mbox

PR libstdc++/45711 cleanup.

Message ID 20101113103601.GA24069@gmx.de
State New
Headers show

Commit Message

Ralf Wildenhues Nov. 13, 2010, 10:36 a.m. UTC
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.

Comments

Paolo Carlini Nov. 13, 2010, 10:41 a.m. UTC | #1
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.
diff mbox

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:/' \