PATCH: PR 30899

Mark Mitchell mark@codesourcery.com
Wed Mar 14 00:04:00 GMT 2007


I've applied this patch to 4.2 and mainline to fix PR bootstrap/30899,
which was a problem with --enable-generated-files-in-srcdir.

Tested on x86_64-unknown-linux-gnu.

--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713

2007-03-13  Mark Mitchell  <mark@codesourcery.com>

	PR bootstrap/30899
	* Make-lang.in (doc/g++.1): Use $< to specify the location from
	which to copy.

Index: Make-lang.in
===================================================================
--- Make-lang.in	(revision 122880)
+++ Make-lang.in	(revision 122881)
@@ -175,7 +175,7 @@ c++.install-common: installdirs
 # We can't use links because not everyone supports them, and we can't use
 # .so because Irix 6.5 doesn't support them.  So just copy the manpage.
 doc/g++.1: doc/gcc.1
-	cp doc/gcc.1 doc/g++.1
+	cp $< doc/g++.1
 
 c++.install-man: $(DESTDIR)$(man1dir)/$(GXX_INSTALL_NAME)$(man1ext)
 



More information about the Gcc-patches mailing list