This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Update gcc_release for --enable-generated-files-in-srcdir
- From: Kelley Cook <kcook34 at ford dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Gerald Pfeifer <gerald at pfeifer dot com>, "Joseph S. Myers" <jsm at polyomino dot org dot uk>
- Date: Thu, 23 Oct 2003 16:38:06 -0400
- Subject: [PATCH] Update gcc_release for --enable-generated-files-in-srcdir
- Hop-count: 1
- Reply-to: Kelley Cook <kelleycook at wideopenwest dot com>
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.