diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-06 20:43:55 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-06 20:43:55 +0000 |
commit | 0d8970e35cd11c6e895434af7ab691c1ebf0f4f4 (patch) | |
tree | 8db52f5b044e0b05a87e961c3dc370d2fdbec4d2 /gcc/java/jvspec.c | |
parent | ce2e86e682d7decdfafdf8868998bec3f79f217a (diff) | |
download | gcc-0d8970e35cd11c6e895434af7ab691c1ebf0f4f4.tar.gz |
PR java/30714:
* 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
Diffstat (limited to 'gcc/java/jvspec.c')
-rw-r--r-- | gcc/java/jvspec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/jvspec.c b/gcc/java/jvspec.c index 441711816eb..3ebdff008fa 100644 --- a/gcc/java/jvspec.c +++ b/gcc/java/jvspec.c @@ -512,7 +512,7 @@ lang_specific_driver (int *in_argc, const char *const **in_argv, arglist[j] = "-xnone"; } - if (argv[i][1] == 'I') + if (argv[i][0] == '-' && argv[i][1] == 'I') { const char *arg; if (argv[i][2] == '\0') |