summaryrefslogtreecommitdiff
path: root/gcc/java/jvspec.c
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-13 17:04:57 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-13 17:04:57 +0000
commit6ee2b510a4a1bec41601526bac33b94ea0e84bef (patch)
tree0a81e2cb37f4e302589220b811c1f56a22f2d3ad /gcc/java/jvspec.c
parent0ad8600e14dce0e019722b9e10e455f1cf4ce91e (diff)
downloadgcc-6ee2b510a4a1bec41601526bac33b94ea0e84bef.tar.gz
PR java/15578:
* lang.opt (--extdirs): Document. * jvspec.c (lang_specific_driver): Recognize -encoding and -extdirs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88991 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/jvspec.c')
-rw-r--r--gcc/java/jvspec.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/gcc/java/jvspec.c b/gcc/java/jvspec.c
index 83bf28183a3..940cd8c9fff 100644
--- a/gcc/java/jvspec.c
+++ b/gcc/java/jvspec.c
@@ -1,6 +1,6 @@
/* Specific flags and argument handling of the front-end of the
GNU compiler for the Java(TM) language.
- Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
+ Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
Free Software Foundation, Inc.
This file is part of GCC.
@@ -324,9 +324,11 @@ lang_specific_driver (int *in_argc, const char *const **in_argv,
saw_o = 1;
quote = argv[i];
}
- else if (strcmp(argv[i], "-classpath") == 0
- || strcmp(argv[i], "-bootclasspath") == 0
- || strcmp(argv[i], "-CLASSPATH") == 0)
+ else if (strcmp (argv[i], "-classpath") == 0
+ || strcmp (argv[i], "-bootclasspath") == 0
+ || strcmp (argv[i], "-CLASSPATH") == 0
+ || strcmp (argv[i], "-encoding") == 0
+ || strcmp (argv[i], "-extdirs") == 0)
{
quote = argv[i];
added -= 1;
@@ -507,7 +509,9 @@ lang_specific_driver (int *in_argc, const char *const **in_argv,
if (strcmp (argv[i], "-classpath") == 0
|| strcmp (argv[i], "-bootclasspath") == 0
- || strcmp (argv[i], "-CLASSPATH") == 0)
+ || strcmp (argv[i], "-CLASSPATH") == 0
+ || strcmp (argv[i], "-encoding") == 0
+ || strcmp (argv[i], "-extdirs") == 0)
{
arglist[j] = concat ("-f", argv[i]+1, "=", argv[i+1], NULL);
i++;