* jvspec.c (lang_specific_driver): Recognize -fsyntax-only and
disable linking in that case.
From-SVN: r25389
+1999-02-23 Tom Tromey <tromey@cygnus.com>
+
+ * jvspec.c (lang_specific_driver): Recognize -fsyntax-only and
+ disable linking in that case.
+
1999-02-20 Tom Tromey <tromey@cygnus.com>
* jcf.h (UTF8_GET): Mask first byte of 3-byte encoding with 0x0f,
quote = argv[i];
added -= 1;
}
+ else if (strcmp (argv[i], "-fsyntax-only") == 0
+ || strcmp (argv[i], "--syntax-only") == 0)
+ {
+ library = 0;
+ will_link = 0;
+ continue;
+ }
else
/* Pass other options through. */
continue;