* jvspec.c (lang_specific_driver): Check for the '-' in '-I'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121666
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-02-06 Tom Tromey <tromey@redhat.com>
+
+ PR java/30714:
+ * jvspec.c (lang_specific_driver): Check for the '-' in '-I'.
+
2007-02-03 Kazu Hirata <kazu@codesourcery.com>
* java-tree.h, javaop.def, jcf-parse.c: Fix comment typos.
arglist[j] = "-xnone";
}
- if (argv[i][1] == 'I')
+ if (argv[i][0] == '-' && argv[i][1] == 'I')
{
const char *arg;
if (argv[i][2] == '\0')