This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Update gcc_release for --enable-generated-files-in-srcdir


This tiny patch *should* cause gcc_release to use the "--enable-generated-files-in-srcdir" configure option.

Unfortunately, I'm not entirely sure how to test this. From a quick glance it seems like running the script, if I even can, would reap all sorts of havoc to the CVS Repository.

Any ideas?

BTW, the actual use of those generated files by users will be solved by forthcoming patches for PR/12744.

Kelley Cook
2003-10-23  Kelley Cook  <kcook@gcc.gnu.org>

	* gcc_release (build_sources): Use --enable-generated-files-in-srcdir.

--- gcc-snapshot/maintainer-scripts/gcc_release	2003-09-22 10:29:20.000000000 -0400
+++ g/maintainer-scripts/gcc_release	2003-10-23 16:32:44.642680500 -0400
@@ -236,7 +236,8 @@
     # on at least one platform.
     inform "Building compiler"
     OBJECT_DIRECTORY=../objdir
-    contrib/gcc_build -d ${SOURCE_DIRECTORY} -o ${OBJECT_DIRECTORY} build || \
+    contrib/gcc_build -d ${SOURCE_DIRECTORY} -o ${OBJECT_DIRECTORY} \
+      -c "--enable-generated-files-in-srcdir" build || \
       error "Could not rebuild GCC"
 
     # Regenerate the Fotran NEWS and BUGS files.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]