summaryrefslogtreecommitdiff
path: root/contrib/gcc_build
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/gcc_build
parentd96a6d1a1c6c53816eef51a447c3e4899dd24df6 (diff)
downloadgcc-8a3d997e537a2c650a4713ceb27e2077ad93c8cb.tar.gz
* gcc_build: Add -o option for setting the objdir to use.
From-SVN: r37397
Diffstat (limited to 'contrib/gcc_build')
-rwxr-xr-xcontrib/gcc_build4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/gcc_build b/contrib/gcc_build
index 2989628255c..f20366e9600 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}";;