From 0cffaca32c2a59f5a88bf4a0d463d84779aa9170 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 23 Sep 1999 19:45:39 +0000 Subject: [PATCH] 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 --- gcc/java/ChangeLog | 5 +++++ gcc/java/jvspec.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index ec025321262..e1379bf4371 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +1999-09-23 Tom Tromey + + * jvspec.c (lang_specific_driver): Don't read spec file if + -fsyntax-only given. + 1999-09-22 Tom Tromey * lang-specs.h: Added `%(jc1)' to the jc1 spec. diff --git a/gcc/java/jvspec.c b/gcc/java/jvspec.c index 7aa143cbe06..13312f55c6f 100644 --- a/gcc/java/jvspec.c +++ b/gcc/java/jvspec.c @@ -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;