jvspec.c (lang_specific_driver): Don't read spec file if -fsyntax-only given.
authorTom Tromey <tromey@cygnus.com>
Thu, 23 Sep 1999 19:45:39 +0000 (19:45 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Thu, 23 Sep 1999 19:45:39 +0000 (19:45 +0000)
* jvspec.c (lang_specific_driver): Don't read spec file if
-fsyntax-only given.

From-SVN: r29630

gcc/java/ChangeLog
gcc/java/jvspec.c

index ec025321262d5597449de88531e3dd64dad19238..e1379bf4371434af36a039c9569219b142a787a0 100644 (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.
index 7aa143cbe060fea8593663e5ffd56e30df891a64..13312f55c6f947ca943e2cdad3a47f8dc9c7c219 100644 (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;