jvspec.c (lang_specific_driver): Don't read spec file if -fsyntax-only given.

* jvspec.c (lang_specific_driver): Don't read spec file if
	-fsyntax-only given.

From-SVN: r29630
This commit is contained in:
Tom Tromey 1999-09-23 19:45:39 +00:00 committed by Tom Tromey
parent dbe519e013
commit 0cffaca32c
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
1999-09-23 Tom Tromey <tromey@cygnus.com>
* jvspec.c (lang_specific_driver): Don't read spec file if
-fsyntax-only given.
1999-09-22 Tom Tromey <tromey@cygnus.com>
* lang-specs.h: Added `%(jc1)' to the jc1 spec.

View File

@ -287,6 +287,7 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries)
else if (strcmp (argv[i], "-fsyntax-only") == 0
|| strcmp (argv[i], "--syntax-only") == 0)
{
want_spec_file = 0;
library = 0;
will_link = 0;
continue;