Check "-D XXX=YYY".

2010-09-03  H.J. Lu  <hongjiu.lu@intel.com>

	PR java/45504
	* jvgenmain.c (main): Check "-D XXX=YYY".

From-SVN: r163814
This commit is contained in:
H.J. Lu 2010-09-03 13:13:10 +00:00 committed by H.J. Lu
parent 5792039f79
commit efe13e0f32
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-09-03 H.J. Lu <hongjiu.lu@intel.com>
PR java/45504
* jvgenmain.c (main): Check "-D XXX=YYY".
2010-09-02 Joseph Myers <joseph@codesourcery.com>
* jvspec.c (jvgenmain_spec): Don't handle -fnew-verifier.

View File

@ -78,7 +78,9 @@ main (int argc, char **argv)
{
if (! strncmp (argv[i], "-D", 2))
{
/* Handled later. */
/* Handled later. Check "-D XXX=YYY". */
if (argv[i][2] == '\0')
i++;
}
else
break;