aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2000-11-12 00:29:37 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2000-11-12 00:29:37 +0000
commit8a3d997e537a2c650a4713ceb27e2077ad93c8cb (patch)
treed29ea666c417d6a7f79fb9954b349c12a51081ff /contrib
parentd96a6d1a1c6c53816eef51a447c3e4899dd24df6 (diff)
downloadgcc-8a3d997e537a2c650a4713ceb27e2077ad93c8cb.zip
gcc-8a3d997e537a2c650a4713ceb27e2077ad93c8cb.tar.gz
gcc-8a3d997e537a2c650a4713ceb27e2077ad93c8cb.tar.bz2
* gcc_build: Add -o option for setting the objdir to use.
From-SVN: r37397
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog4
-rwxr-xr-xcontrib/gcc_build4
2 files changed, 7 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 545057a..6d94651 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+Sat Nov 11 17:29:03 2000 Mark P Mitchell <mark@codesourcery.com>
+
+ * gcc_build: Add -o option for setting the objdir to use.
+
2000-11-11 Jeff Law <law@redhat.com>,
* release: New file.
diff --git a/contrib/gcc_build b/contrib/gcc_build
index 2989628..f20366e 100755
--- a/contrib/gcc_build
+++ b/contrib/gcc_build
@@ -62,6 +62,7 @@ cat <<EOF
gcc_build [-c configure_options]
[-d destination_directory]
[-m make_boot_options]
+ [-o objdir]
[-u username]
[-p protocol]
[-t tarfile]
@@ -250,11 +251,12 @@ UPDATE=0
########################################################################
# Parse the options.
-while getopts "c:d:m:p:t:u:" ARG; do
+while getopts "c:d:m:o:p:t:u:" ARG; do
case $ARG in
c) CONFIGURE_OPTIONS="${OPTARG}";;
d) DESTINATION="${OPTARG}";;
m) MAKE_BOOTSTRAP_OPTIONS="${OPTARG}";;
+ o) OBJDIR="${OPTARG}";;
p) CVS_PROTOCOL="${OPTARG}";;
t) CVS_TARGFILE="${OPTARG}";;
u) CVS_USERNAME="${OPTARG}";;